PDA

View Full Version : [ubuntu] List of services converted to Upstart



frodemt
April 30th, 2010, 08:58 AM
Hi.

Where can I find a list of services converted to upstart in Ubuntu 10.04? What is the syntax for stoping, starting and restarting these services?

cdenley
April 30th, 2010, 01:47 PM
Where can I find a list of services converted to upstart in Ubuntu 10.04?



ls -1 /etc/init|cut -d . -f 1


What is the syntax for stoping, starting and restarting these services?


man initctl

ghost_ryder35
April 30th, 2010, 03:15 PM
I am lazy so I still just run the init scripts manually from /etc/init.d/

pksings
April 30th, 2010, 05:48 PM
service whatever stop
service whatever start
service whatever restart

will also work.

CharlesA
April 30th, 2010, 06:04 PM
I am lazy so I still just run the init scripts manually from /etc/init.d/

Tried that for Samba, doesn't work since the init.d script was removed. Ended up using service smbd stop/start to get it going.

Same with dhcp3-server and ssh

cdenley
April 30th, 2010, 06:20 PM
Tried that for Samba, doesn't work since the init.d script was removed. Ended up using service smbd stop/start to get it going.

Same with dhcp3-server and ssh

The samba init.d script wasn't removed. It was divided since smbd and nmbd are managed separately now.


ls /etc/init.d/?mbd

CharlesA
April 30th, 2010, 07:56 PM
The samba init.d script wasn't removed. It was divided since smbd and nmbd are managed separately now.


ls /etc/init.d/?mbd


Thanks. I didn't even notice that, probably because I am use to just using "samba" instead of smbd.