From 71e67b5b9089a590b161a44881c34882dd812f4d Mon Sep 17 00:00:00 2001 From: vlaine Date: Sat, 13 Aug 2016 11:12:23 -0400 Subject: [PATCH] With this modif, Freelss will auto start as root --- config/freelss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/freelss b/config/freelss index 82db688..7a1728d 100755 --- a/config/freelss +++ b/config/freelss @@ -49,9 +49,9 @@ do_start() # 0 if daemon has been started # 1 if daemon was already running # 2 if daemon could not be started - start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --test > /dev/null \ + start-stop-daemon --start --quiet --pidfile $PIDFILE --user root --chuid root --exec $DAEMON --test > /dev/null \ || return 1 - start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- \ + start-stop-daemon --start --quiet --pidfile $PIDFILE --user root --chuid root --exec $DAEMON -- \ $DAEMON_ARGS \ || return 2 # Add code here, if necessary, that waits for the process to be ready