mirror of
https://github.com/mruwnik/chicken-master.git
synced 2025-06-08 21:34:43 +02:00
service autoupdater
This commit is contained in:
parent
a667957f1c
commit
1c52af754d
5
infra/systemd/chickens-watcher.path
Normal file
5
infra/systemd/chickens-watcher.path
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
[Path]
|
||||||
|
PathModified=/srv/chickens
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
10
infra/systemd/chickens-watcher.service
Normal file
10
infra/systemd/chickens-watcher.service
Normal 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
|
Loading…
x
Reference in New Issue
Block a user