diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-05-26 10:28:27 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-05-26 10:28:27 -0700 |
commit | fa02db87d16cb73c385c73e6c791856ba6982463 (patch) | |
tree | ec562ed1a2aeeec92fef7f41086be843f28ee314 | |
parent | e48f9aa31bda6349c0f5e53ea15df00869f73cec (diff) | |
download | vyatta-cfg-quagga-fa02db87d16cb73c385c73e6c791856ba6982463.tar.gz vyatta-cfg-quagga-fa02db87d16cb73c385c73e6c791856ba6982463.zip |
Don't use --name option
I added --name option, but doesn't do what I expected.
-rwxr-xr-x | scripts/quagga-manager | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/quagga-manager b/scripts/quagga-manager index 85bfec98..ff0c7f88 100755 --- a/scripts/quagga-manager +++ b/scripts/quagga-manager @@ -47,7 +47,7 @@ start() { args+=( -l -S -s 1048576 ) fi - exec start-stop-daemon --start --oknodo --quiet --name $daemon \ + exec start-stop-daemon --start --oknodo --quiet \ --chdir $log_dir --exec $binpath --pidfile $pidfile \ -- ${args[@]} } @@ -58,7 +58,7 @@ stop() { local binpath=/usr/sbin/vyatta-$daemon start-stop-daemon --stop --quiet --oknodo --retry 5 \ - --name $daemon --exec $binpath --pidfile=$pidfile + --exec $binpath --pidfile=$pidfile rm -f $pidfile } |