mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-10 15:20:56 +00:00
Changed system conf file to use $USER
This commit is contained in:
parent
44790b1333
commit
fe88781bc8
@ -4,9 +4,9 @@ start on (local-filesystems and net-device-up IFACE!=lo)
|
|||||||
stop on runlevel [!2345]
|
stop on runlevel [!2345]
|
||||||
|
|
||||||
env STNORESTART=yes
|
env STNORESTART=yes
|
||||||
env HOME=/home/jake
|
env HOME=/home/$USER
|
||||||
setuid "jake"
|
setuid "$USER"
|
||||||
setgid "jake"
|
setgid "$USER"
|
||||||
|
|
||||||
exec /usr/local/bin/syncthing
|
exec /usr/local/bin/syncthing
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user