[NCLUG] upstart

Michael Milligan milli at acmeps.com
Fri Mar 2 07:36:13 MST 2012


On 03/01/2012 03:10 PM, Kerry Miller wrote:
> Hi FRLUG,
> 
> upstaet appears to be installed but when I type:
> sudo upstart, the command isn't found.  Where is it supposed to be?  I 
> did try /sbin and I also tried /usr/bin.
> 

RTFM = "man upstart".

Use the commands "start <process_name>" and "stop <process_name>", these
are the Upstart framework's manual start/stop commands for daemon
processes (like ssh).  Note that not all processes you might install
with the package manager that runs a daemon use the upstart framework, a
lot of them still use the old SysV-style and haven't all been converted
yet, especially ones in the "universe" pool, so you'd use
"/etc/init.d/<process_name> start" or "/etc/init.d/<process_name> stop"
with many of those still.  Ubuntu is derived from Debian and Debian is
in process of changing over from SysV-style start/stop framework to
Upstart-style.  Seems most Linux distros are moving that direction.

Also keep in mind that the config files will typically live in
/etc/<process-name>/ directories, and enable/disable is (usually)
controlled in /etc/defaults/<process-name> files.  Using "dpkg -L
<package>" will get you a list of the files that are installed, you can
clue off of that for both config files and binaries.  Some basic stuff
can be (re)configured with "dpkg-reconfigure <package>".

There are a number of helpful articles covering both SysV and Upstart
run infrastructures as well as how to use commands from both "dpkg" and
"apt" packages to more directly manage a Debian-derived system.  Google
is your friend.

Regards,
Mike



More information about the NCLUG mailing list