aboutsummaryrefslogtreecommitdiff
path: root/.config/systemd/user/syncthing.service
blob: d1b862c4707fa7424888725ce370e8e2e78dfdc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[Unit]
Description=Syncthing - Open Source Continuous File Synchronization
After=network.target

[Service]
ExecStart=/usr/bin/env syncthing -no-browser -no-restart -logflags=0
Restart=always
RestartSec=5s
SyslogIdentifier=syncthing
CPUQuota=60%
IOWeight=60

# Hardening
ProtectSystem=full
PrivateTmp=true
SystemCallArchitectures=native
MemoryDenyWriteExecute=true
NoNewPrivileges=true

[Install]
WantedBy=default.target