Documentation and examples for Ubuntu-like linux systems using

Upstart as the init system.
This commit is contained in:
Jake Peterson committed 2015-10-23 22:37:35 -06:00
1 parent 7b5ab29a6d
commit b40bb64612
3 files changed
+50

No files matched your search

+13
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