summaryrefslogtreecommitdiff
path: root/community/syncthing/syncthing@.service
blob: 93ed40e147206b8bf4143978a52c78f3ff83b266 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[Unit]
Description=Syncthing service for %i
After=network.target

[Service]
User=%i
Environment=STNORESTART=yes
ExecStart=/usr/bin/syncthing
Restart=always

[Install]
WantedBy=multi-user.target