From fe88781bc857dde1a1c321616e3d6eed3fa8e59d Mon Sep 17 00:00:00 2001 From: Jake Peterson Date: Sat, 24 Oct 2015 14:53:08 -0600 Subject: [PATCH] Changed system conf file to use $USER --- etc/linux-upstart/system/syncthing.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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