diff options
Diffstat (limited to 'gmid/files/rc.gmid.new')
-rw-r--r-- | gmid/files/rc.gmid.new | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gmid/files/rc.gmid.new b/gmid/files/rc.gmid.new index 4b9e006..44cf3a1 100644 --- a/gmid/files/rc.gmid.new +++ b/gmid/files/rc.gmid.new @@ -3,8 +3,6 @@ # Startup/shutdown script for the gmid gemini service. # -GMID_USER=${GMID_USER:-root} - create_gmid_run_dir() { if [ ! -d /run/gmid/ ]; then mkdir -p /run/gmid @@ -40,7 +38,7 @@ gmid_start() { fi echo "Starting gmid gemini service" - sudo -u "$GMID_USER" -- gmid \ + gmid \ -c /etc/gmid.conf \ -P /run/gmid/gmid.pid } @@ -71,7 +69,7 @@ gmid_stop() { return fi - sudo -u "$GMID_USER" -- kill -TERM "$pid" + kill -TERM "$pid" } case "$1" in |