Skip to content

Commit

Permalink
Fix permission denied for start-stop-daemon
Browse files Browse the repository at this point in the history
Since an update, service-daemon refuses to start, it seems necessary to manually
specify the working directory of start-stop-daemon to avoid permission errors.

This issue seems to be related to this one:
termux/termux-packages#614
  • Loading branch information
birros authored and Leonid Pliushch committed Jun 7, 2020
1 parent d14da8c commit fa7da0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service-daemon
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -e
start(){
mkdir -p $PIDDIR
start-stop-daemon -S -b -m -p $PIDFILE -x $DAEMON -- $DAEMON_OPTS
start-stop-daemon -S -b -m -p $PIDFILE -x $DAEMON -d $PREFIX -- $DAEMON_OPTS
}
stop(){
start-stop-daemon -K -s 1 -o -p $PIDFILE
Expand Down

0 comments on commit fa7da0e

Please sign in to comment.