On Sun, Mar 7, 2010 at 2:21 PM, Tom H <[email protected]> wrote: > Patrick's two Upstart posts reminded me of 2.5 queries of my own. > > 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. > 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 ;-) :-Dustin -- Ubuntu-devel-discuss mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
