syncthing/etc/linux-systemd/system/syncthing@.service

15 lines
268 B
SYSTEMD
Raw Normal View History

2014-11-19 08:42:05 +00:00
[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=on-failure
2014-11-19 08:42:05 +00:00
[Install]
WantedBy=multi-user.target