synchronization
Some checks failed
continuous-integration/drone Build is failing

This commit is contained in:
2025-08-25 15:57:40 +08:00
commit cee91802b3
106 changed files with 9124 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
# 作者: 丁辉
[Unit]
Description=Inotify Service
After=network.target
[Service]
RemainAfterExit=yes
ExecStart=/opt/rsync_inotify.sh
ExecStop=pkill -f "rsync_inotify.sh"
ExecReload=/opt/rsync_inotify.sh && pkill -f "rsync_inotify.sh"
Restart=on-abnormal
[Install]
WantedBy=multi-user.target

View File

@@ -0,0 +1,14 @@
# 作者: 丁辉
[Unit]
Description=Sersync2 Service
After=network.target
[Service]
RemainAfterExit=yes
ExecStart=/usr/local/sersync/sersync2 -dro /usr/local/sersync/confxml.xml
ExecStop=/usr/bin/pkill sersync2
ExecReload=/usr/bin/pkill sersync2 && /usr/local/sersync/sersync2 -dro /usr/local/sersync/confxml.xml
Restart=on-abnormal
[Install]
WantedBy=multi-user.target