Debian startup services

d4mo

Senior member
Jun 24, 2005
588
0
0
Hey guys. I'm a Gentoo guy, but for this project I'm using Debian for certain reasons. I'm only using command line so no GUI or anything. My question is does debian have a command to view and change commands that run at the startup? Like gentoo has rc-status and rc-update.

Also how do you list installed apps? Is it with apt-cache?
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
ls /etc/rc?.d/S* (replace the ? with the runlevel you're using)

man dpkg - There's a way to list installed packages in there somewhere. I forget it offhand though.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
There's update-rc.d but I think most people just manage the symlinks themselves.

'dpkg -l | grep ^ii' will list all installed packages. Although I usually just stick to aptitude.
 

drag

Elite Member
Jul 4, 2002
8,708
0
0
In Debian all your scripts are stored in /etc/init.d/ and then each run level is /etc/rc0.d/, /etc/rc3.d and similar.

I usually just manage symbolic links manually.