2014-11-19 09:42:05 +01:00
|
|
|
[Unit]
|
2015-02-02 01:11:41 +01:00
|
|
|
Description=Syncthing - Open Source Continuous File Synchronization
|
2016-03-16 14:09:01 +01:00
|
|
|
Documentation=man:syncthing(1)
|
2014-11-19 09:42:05 +01:00
|
|
|
|
|
|
|
[Service]
|
2015-12-15 08:38:08 +01:00
|
|
|
ExecStart=/usr/bin/syncthing -no-browser -no-restart -logflags=0
|
2014-11-19 09:46:14 +01:00
|
|
|
Restart=on-failure
|
2015-12-15 08:38:08 +01:00
|
|
|
SuccessExitStatus=3 4
|
2015-02-01 23:55:54 +01:00
|
|
|
RestartForceExitStatus=3 4
|
2014-11-19 09:42:05 +01:00
|
|
|
|
2018-12-07 14:58:12 +01:00
|
|
|
# Hardening
|
|
|
|
SystemCallArchitectures=native
|
|
|
|
MemoryDenyWriteExecute=true
|
|
|
|
NoNewPrivileges=true
|
|
|
|
|
2014-11-19 09:42:05 +01:00
|
|
|
[Install]
|
2015-02-02 01:11:41 +01:00
|
|
|
WantedBy=default.target
|