first commit
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
2025-12-13 17:57:17 +08:00
commit 6165fb97a5
109 changed files with 9251 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