service autoupdater

This commit is contained in:
Daniel O'Connell 2021-03-13 17:02:11 +01:00
parent a667957f1c
commit 1c52af754d
3 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,5 @@
[Path]
PathModified=/srv/chickens
[Install]
WantedBy=multi-user.target

View File

@ -0,0 +1,10 @@
[Unit]
Description=Chicken master restarter
After=postgres.service
[Service]
Type=oneshot
ExecStart=/usr/bin/systemctl restart chickens.service
[Install]
WantedBy=multi-user.target