Commit 53d3d10e authored by John Ferlito's avatar John Ferlito

Fix /var/run creaton

parent f27be06c
......@@ -41,7 +41,7 @@ case "$1" in
start)
[ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC " "$NAME"
mkdir -p /var/run/nfsen
sudo chown -R $USER.$GROUP-data /var/run/nfsen
sudo chown -R $USER.$GROUP /var/run/nfsen
$DAEMON start
case "$?" in
0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
......@@ -68,6 +68,7 @@ case "$1" in
$DAEMON stop
case "$?" in
0|1)
sudo chown -R $USER.$GROUP /var/run/nfsen
$DAEMON start
case "$?" in
0) log_end_msg 0 ;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment