Correct init script
redirect stdout to /dev/null Change-Id: I5baf0082a0344446f0514bfd167142f19bb17fca
This commit is contained in:
parent
a3f1f28545
commit
82e98b668c
@ -22,7 +22,7 @@ lockfile=/var/lock/subsys/$prog-agent
|
|||||||
start() {
|
start() {
|
||||||
[ -x $exec ] || exit 5
|
[ -x $exec ] || exit 5
|
||||||
echo -n $"Starting $prog: "
|
echo -n $"Starting $prog: "
|
||||||
daemon --user neutron --pidfile $pidfile "$exec & echo \$! > $pidfile"
|
daemon --user neutron --pidfile $pidfile "$exec &>/dev/null & echo \$! > $pidfile"
|
||||||
retval=$?
|
retval=$?
|
||||||
echo
|
echo
|
||||||
[ $retval -eq 0 ] && touch $lockfile
|
[ $retval -eq 0 ] && touch $lockfile
|
||||||
|
Loading…
Reference in New Issue
Block a user