Re: Bug#1307: Netbase fails due to running daemons
Ian Jackson wrote:
> Ah. Is netbase using start-stop-daemon (as it should be) ?
>
> chiark:~> start-stop-daemon --help
> Debian GNU/Linux start-stop-daemon 0.93.68. Copyright (C) 1995
> Ian Jackson. This is free software; see the GNU General Public Licence
> version 2 or later for copying conditions. There is NO warranty.
>
> Usage: start-stop-daemon --start | --stop | --version|--help options ...
> Options: --test --oknodo --exec <executable> --pidfile <pid-file>
> --quiet|--verbose --user <username>|<uid> --name <process-name>
> --signal <signal> --startas <pathname>
> -- <... all of the rest are arguments to daemon ...>
> Be careful - try not to call without --exec. `start-stop-daemon --stop'
> would send a SIGTERM to every process, if it weren't specially prevented.
>
> Exit status: 0 = done 1 = nothing done (=> 0 if --oknodo) 2 = trouble
> chiark:~>
>
> As you can see, start-stop-daemon gives an exit status of 1 if it
> doesn't do anything. netbase should probably be using --oknodo.
netbase already uses --oknodo.
Peter
--
Peter Tobias EMail:
Fachhochschule Ostfriesland tobias@et-inf.fho-emden.de
Fachbereich Elektrotechnik und Informatik tobias@perseus.fho-emden.de
Constantiaplatz 4, 26723 Emden, Germany
Reply to: