Files
Linux/File/Service/sersync2.service
offends 6165fb97a5
All checks were successful
continuous-integration/drone Build is passing
first commit
2025-12-13 17:57:17 +08:00

14 lines
371 B
Desktop File

# 作者: 丁辉
[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