Documentation and examples for Ubuntu-like linux systems using

Upstart as the init system.
This commit is contained in:
Jake Peterson
2015-10-23 22:37:35 -06:00
parent 7b5ab29a6d
commit b40bb64612
3 changed files with 50 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
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