mirror of
https://github.com/vvzvlad/vestasync.git
synced 2024-11-05 06:49:11 +03:00
13 lines
320 B
SYSTEMD
13 lines
320 B
SYSTEMD
|
[Unit]
|
||
|
Description=Script triggered by file changes in a folder (including subfolders)
|
||
|
|
||
|
[Service]
|
||
|
ExecStartPre=systemctl stop pushgit_inotify.service
|
||
|
ExecStart=systemctl start pushgit_inotify.service
|
||
|
ExecStop=systemctl stop pushgit_inotify.service
|
||
|
Type=oneshot
|
||
|
RemainAfterExit=true
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|