|
@@ -56,7 +56,7 @@ start() {
|
|
prestart
|
|
prestart
|
|
printf "Starting $prog:\t"
|
|
printf "Starting $prog:\t"
|
|
echo "\n$(date)\n" >> $logfile
|
|
echo "\n$(date)\n" >> $logfile
|
|
- "$unshare" -m -- $exec daemon $other_args &>> $logfile &
|
|
|
|
|
|
+ "$unshare" -m -- $exec daemon $other_args >> $logfile 2>&1 &
|
|
pid=$!
|
|
pid=$!
|
|
touch $lockfile
|
|
touch $lockfile
|
|
# wait up to 10 seconds for the pidfile to exist. see
|
|
# wait up to 10 seconds for the pidfile to exist. see
|