syncthing/etc/linux-systemd/user/syncthing.service

16 lines
350 B
SYSTEMD
Raw Normal View History

2014-11-19 08:42:05 +00:00
[Unit]
Description=Syncthing - Open Source Continuous File Synchronization
Documentation=https://github.com/syncthing/syncthing/wiki
After=network.target
2014-11-19 08:42:05 +00:00
[Service]
Environment=STNORESTART=yes
ExecStart=/usr/bin/syncthing
Restart=on-failure
RestartPreventExitStatus=1
SuccessExitStatus=2
RestartForceExitStatus=3 4
2014-11-19 08:42:05 +00:00
[Install]
WantedBy=default.target