mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-23 11:28:59 +00:00
15 lines
264 B
SYSTEMD
15 lines
264 B
SYSTEMD
|
[Unit]
|
||
|
Description=Syncthing service for %i
|
||
|
After=network.target
|
||
|
|
||
|
[Service]
|
||
|
User=%i
|
||
|
Environment=STARGS=
|
||
|
EnvironmentFile=-/etc/default/syncthing
|
||
|
Environment=STNORESTART=yes
|
||
|
ExecStart=/usr/bin/syncthing ${STARGS}
|
||
|
Restart=always
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|