This unit is provided by:
Options
-
[Install]
-
WantedBy=default.target
-
-
[Service]
-
CapabilityBoundingSet=~CAP_SYS_PTRACE ~CAP_SYS_ADMIN ~CAP_SETGID ~CAP_SETUID ~CAP_SETPCAP ~CAP_SYS_TIME ~CAP_KILL
-
Environment="STNORESTART=yes" "STNOUPGRADE=yes"
-
ExecStart=/usr/bin/syncthing -no-browser -gui-address=127.0.0.1:8384 -home=/var/lib/syncthing/.config/syncthing
-
ExecStart=/usr/bin/syncthing serve --no-browser --no-restart --logflags=0
-
Group=syncthing
-
MemoryDenyWriteExecute
Introduced in systemd 231=yes -
NoNewPrivileges
Introduced in systemd 239=yes -
PrivateDevices
Introduced in systemd 209=yes -
PrivateMounts=yes
-
PrivateTmp=yes
-
PrivateUsers=yes
-
ProtectControlGroups
Introduced in systemd 232=yes -
ProtectHostname
Introduced in systemd 242=yes -
ProtectKernelModules
Introduced in systemd 232=yes -
ProtectKernelTunables
Introduced in systemd 232=yes -
Restart=on-failure
-
RestartForceExitStatus=3 4
-
RestartSec=1
-
RestrictNamespaces
Introduced in systemd 233=yes -
RestrictRealtime
Introduced in systemd 231=yes -
RestrictSUIDSGID
Introduced in systemd 242=yes -
SuccessExitStatus=3 4
-
SystemCallArchitectures=native
-
User=syncthing
-
-
[Unit]
-
After=network.target
-
Description=Syncthing - Open Source Continuous File Synchronization
-
Description=Syncthing service
-
Documentation=man:syncthing(1)
-
StartLimitBurst=4
-
StartLimitIntervalSec=60
-
Additionnal notes
Nothing here.