Upstart
Tom H
tomh0665 at gmail.com
Tue Mar 9 14:12:56 UTC 2010
>> 1. Why does /lib/init/upstart-job direct us to use service rather than initctl?
> Because /usr/sbin/service can handle the start/stop/restart/status
> actions of both traditional System V init scripts in /etc/init.d as
> well as Upstart scripts in /etc/init.
> It's intended to be one-stop-shopping for managing services in either
> /etc/init.d or /etc/init.
Many thanks for the explanation.
>> 999. Could initctl be made to recognize, for example, both
>> avahi-daemon and avahi-daemon.conf? (If I am in /etc/init - it is rare
>> but it happens - and type "stop av//tab//", I end up with "stop
>> avahi-daemon.conf" which, after pressing //enter// results in an
>> "unknown job" message.)
> As answered above, that's service(8)'s job ;-)
Perhaps that it is service's job, but it is also initctl's; and
without, bash_completion, neither can distinguish between avahi-daemon
and avahi-daemon.conf.
More information about the Ubuntu-devel-discuss
mailing list