Tagged Questions
4
votes
1answer
46 views
Displaying all sysvinit init scripts
Is there some tool that displays all available init scripts (on Debian), short of one having to remember a location like /etc/init.d, not to mention that not everything in there is an init script?
1
vote
1answer
546 views
/etc/init.d/script, or /etc/inittab - respawn on die
I have a daemon/service (milter-regex), that is dying. I'm only using it temporarily (A few months), so don't care too much, but I want it to restart when it dies.
It is an init.d script. 'service ...
0
votes
1answer
285 views
Running script before shutdown seemingly not working
I created a small script backup_files.sh and placed it in /etc/init.d:
#/bin/sh
logfile=/media/verbatim/log
date >> $logfile
rsync -av /home/philipp/Documents /media/verbatim/ >> $logfile
...
5
votes
2answers
324 views
What's the difference between /etc/rc.d/rc*.d and /etc/rc*.d
I know that rc*.d directories are used at startup, or reboot, or so on time, for starting or stopping programs. Can anybody explain me what's the difference between the rc*.d folders placed under the ...
4
votes
4answers
424 views
What's the connection between “/etc/init.d” and “/etc/rcX.d” directories in Linux?
I am learning command line from a book called "Linux Command Line and Shell Scripting Bible, Second Edition." The book states this:
Some Linux implementations contain a table of processes to start
...
3
votes
1answer
233 views
SysV init run levels
On a system that uses SysV init run levels such as Centos 5, when the OS is booting, does it go straight to the run level defined in /etc/inittab?
If I change my run level using the init command do ...
4
votes
3answers
4k views
Missing init.d/apache2 file
I am new to linux and just recently messed up my first apache/tomcat configuration. After trying to delete apache and tomcat, and now trying to reinstall apache 2, I am missing the init.d/apache2 file ...