mirror of
https://github.com/syncthing/syncthing.git
synced 2024-11-17 02:48:57 -07:00
b40bb64612
Upstart as the init system.
14 lines
216 B
Plaintext
14 lines
216 B
Plaintext
description "Syncthing"
|
|
|
|
start on (local-filesystems and net-device-up IFACE!=lo)
|
|
stop on runlevel [!2345]
|
|
|
|
env STNORESTART=yes
|
|
env HOME=/home/jake
|
|
setuid "jake"
|
|
setgid "jake"
|
|
|
|
exec /usr/local/bin/syncthing
|
|
|
|
respawn
|