refactoting services and remove upload by timer

This commit is contained in:
vvzvlad
2023-04-21 22:05:54 +07:00
parent fe07f2d180
commit db872ae533
14 changed files with 68 additions and 112 deletions

View File

@ -0,0 +1,12 @@
[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