1
vote
2answers
160 views

disable init.d script in systemd

I changed the init system from sysvinit to systemd on a raspbian installation. The install boots fine, but now starts lightdm on boot. I don't want it to do that. I noticed lightdm.service is started ...
0
votes
2answers
44 views

Launch a program on boot (Debian server)

Path to folder: root/CumulusServer Command to execute: ./CumulusServer --daemon [--pidfile=/var/run/CumulusServer.pid] I've spent considerable time trying to figure out how to modify init.d? Any ...
2
votes
2answers
292 views

How do I force booting in text mode?

Newer Linux distributions have the idea to boot into graphics modes. The grub menu does this. The init.d system does this. X does this. I can justify X. But both grub and init.d have only caused ...
1
vote
2answers
647 views

How to debug init.d script that isn't being run

I am trying to get god to start during boot on Debian. I added a script to the /etc/init.d/ directory which looks like this. #!/usr/bin/sh ### BEGIN INIT INFO # Provides: god # ...
1
vote
0answers
272 views

Debian init.d with a working C++ daemon, unexpected results

I am fairly new to programming for Linux, and init.d scripts, and I have a problem with my init.d script adapted from an example I found via a lot of google searching. Instead of getting a status, ...
0
votes
1answer
117 views

what starts runsv on a Debian system using init and how?

A bit of background: I installed git-daemon-run on a Debian system, and now git-daemon starts at boot automatically, even though there is no init script for it in /etc/init.d. I did some digging and ...
5
votes
2answers
582 views

Is it possible to execute a script as first at shutdown/reboot on Debian?

I am currently trying to register a script (located in the /etc/init.d) in a way that makes this script being executed as the first script/programm at shutdown/reboot (change to running level 0 or 6). ...
5
votes
2answers
797 views

How to regenerate /etc/init.d/.depend.(boot|start|stop) on Debian?

Suppose one deleted the following files. /etc/init.d/.depend.boot /etc/init.d/.depend.start /etc/init.d/.depend.stop How to regenerate them?
2
votes
2answers
559 views

editing /etc/init.d/rc.local to run after login tty processes

doing a ps-e, I see the following on startup: PID TTY CMD ... 1880 ? my_auto_script 1881 tty1 login 1882 tty2 getty ... my_auto_script is called from /etc/rc.local. I have /etc/init.d/rc.local ...
3
votes
1answer
588 views

PID file not accessible after update of nginx

After I removed the version 0.7.x which was delivered by the Debian standard packages, I installed the version 1.4.1 of nginx by source. It is possible to start nginx with service nginx start and I ...
1
vote
1answer
855 views

adding a program on start-up by using LSBInitScripts

I use Debian Lenny (I know lenny is old and other bla bla) and would like to place a program on the start-up. I use update-rc.d by adding an executable file on /etc/init.d. By referring to ...
0
votes
2answers
320 views

How to restore the /etc/init.d/pure-ftpd-mysql?

By a mistake... this is my new /etc/init.d/pure-ftpd-mysql: /etc/init.d/pure-ftpd-mysql restart How to install or recover the file? The standard apt-get remove, apt-get install or apt-get ...
4
votes
2answers
3k views

Run script on start up after everything else

OK, so there's a service (nagios) running on a Debian box that runs just fine, except for one very specific issue that only occurs after the box has been re-started. The issue is easily fixed by ...
2
votes
1answer
136 views

how to specify daemon dependency upon another daemon

in /etc/init.d/ first daemon # Provides: first # Required-Start: $remote_fs $syslog second daemon # Provides: second # Required-Start: $remote_fs $syslog first Is this ...
2
votes
2answers
780 views

init.d script causes boot hang

I successfully installed a script to automatically launch in /etc/init.d on my new Raspberry Pi. Unfortunately, it is a node.js app that never returns, and therefore hangs the device during boot ...
1
vote
1answer
1k views

How to correctly remove mountnfs from /etc/init.d/

Cleaning up the boot process of a Debian squeeze installation running on kernel 3.2.0-0.bpo.3-amd64, I spotted several mountnfs scripts in /etc/init.d/: # ls /etc/init.d/ | grep mountnfs ...
1
vote
3answers
3k views

Difference between /etc/init.d/networking restart and invoke-rc.d networking restart

Is there any real difference between /etc/init.d/networking restart and invoke-rc.d networking restart (Debian)?
1
vote
4answers
2k views

When to mount /tmp (and other temporary directories)

When is the right time to mount /tmp (on Debian)? For /home I would not feel bad just to echo "/dev/foo /home type defaults 0 0" >>/etc/fstab - but can I be sure that /tmp is not used by any ...
2
votes
1answer
871 views

VMWare daemon doesn't startup when system starts

I have installed VMware Player on my Debian squueze, but after the reboot the vmware daemon(/etc/init.d/vmware) does not start up automatically, i have tried without any success to set the daemon ...