diff options
Diffstat (limited to '.config/systemd/user/syncthing.service')
-rw-r--r-- | .config/systemd/user/syncthing.service | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/.config/systemd/user/syncthing.service b/.config/systemd/user/syncthing.service index d1b862c..2e5ebc6 100644 --- a/.config/systemd/user/syncthing.service +++ b/.config/systemd/user/syncthing.service @@ -1,21 +1,14 @@ [Unit] Description=Syncthing - Open Source Continuous File Synchronization -After=network.target +StartLimitIntervalSec=0 [Service] -ExecStart=/usr/bin/env syncthing -no-browser -no-restart -logflags=0 +IOWeight=60 +CPUQuota=60% +RestartSec=3 Restart=always -RestartSec=5s SyslogIdentifier=syncthing -CPUQuota=60% -IOWeight=60 - -# Hardening -ProtectSystem=full -PrivateTmp=true -SystemCallArchitectures=native -MemoryDenyWriteExecute=true -NoNewPrivileges=true +ExecStart=/usr/bin/env syncthing -no-browser -no-restart -logflags=0 [Install] WantedBy=default.target |