mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-09 23:00:58 +00:00
14 lines
219 B
Plaintext
14 lines
219 B
Plaintext
description "Syncthing"
|
|
|
|
start on (local-filesystems and net-device-up IFACE!=lo)
|
|
stop on runlevel [!2345]
|
|
|
|
env STNORESTART=yes
|
|
env HOME=/home/$USER
|
|
setuid "$USER"
|
|
setgid "$USER"
|
|
|
|
exec /usr/local/bin/syncthing
|
|
|
|
respawn
|