diff --git a/etc/linux-upstart/system/syncthing.conf b/etc/linux-upstart/system/syncthing.conf index 4100385b0..be29476a6 100644 --- a/etc/linux-upstart/system/syncthing.conf +++ b/etc/linux-upstart/system/syncthing.conf @@ -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