mirror of
https://github.com/syncthing/syncthing.git
synced 2024-11-16 02:18:44 -07: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]
|
||||
|
||||
env STNORESTART=yes
|
||||
env HOME=/home/jake
|
||||
setuid "jake"
|
||||
setgid "jake"
|
||||
env HOME=/home/$USER
|
||||
setuid "$USER"
|
||||
setgid "$USER"
|
||||
|
||||
exec /usr/local/bin/syncthing
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user