Files
Linux/File/Service/sersync2.service
offends 9bd08c819e
All checks were successful
continuous-integration/drone Build is passing
first commit
2025-12-20 21:15:25 +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