The tag has no wiki summary.

learn more… | top users | synonyms

-1
votes
1answer
31 views

Auto starting rc at startup

So here are the steps i am following . So i add a conf file inside /etc/init.d/myconffile And then to get System start/stop links i have to use the command sudo update-rc.d myconffile defaults 99 ...
3
votes
2answers
37 views

Execution order of runlevel scripts

My runlevel 0 scripts in /etc/rc0.d, which should be executed when stopping are for example K05foo -> ... K10bar -> ... K80baz -> ... S10somemore -> ... S90halt -> ... Is it correct, that the ...
3
votes
1answer
52 views

I just deleted /etc/rc?.d/ dirs, how can I restore/recreate them?

sysv-rc was installed to get a hold of systems autostart, but in the end it wasn't needed (as update-rc.d came in handy). So I dumbly do apt-get purge sysv-rc and type Yes, do as I say! to the apt ...
1
vote
2answers
58 views

start mysql service after syncing data dir to tmpfs

hej there! I'm maintaining a network of 8 Pandaboards. One of them is acting as server to host a php-based browser game, others are clients running that game. The server runs Debian Wheezy from SD ...
2
votes
1answer
75 views

Sudden new S11auditd in /etc/rc3.d

We have several machines running under Fedora 12. We have to deal with complete reinstallation quite often as our product comes with the whole distibution. I've noticed that sometimes soon after new ...
0
votes
1answer
150 views

runuser in rc.local

I have to setup port forwarding on system start and have this configured in my rc.local runuser -l phpAdmin -c 'ssh -f -N -L 9904:localhost:3306 phpAdmin@<server>' When rc.local is executed, ...
1
vote
1answer
48 views

Testing rc.d levels

I have a hierarchy of programs running which have a very specific start and stop order. I think I got the run levels set appropriately, but I'm having issues with some of them not working in the order ...
2
votes
6answers
3k views

SSH - set env vairables by every connection - godaddy shared host

My problem is, that I have to set env variables (like GIT_EXEC_PATH) on a server. I need that variables by every connection (so by bash and by remote commands either). I managed to set those variables ...
1
vote
1answer
369 views

Run non-interactive script in single user mode

Is it possible to run a "startup" script when booting into single user mode? I need to be able to boot into single user mode, run my script, then reboot into multiuser mode without any human ...
0
votes
1answer
673 views

rc scripts dependencies

On a Ubuntu 10.04.1 LTS server install certain services fail to start properly after a reboot. I have a couple of virtual interfaces defined on eth0: /etc/network/interfaces # This file describes ...
1
vote
3answers
13k views

How to start Apache server automatically?

I want to manually install Apache server. I've compiled it into: /server/apache http.conf configured correctly. It works. I can open up a browser and navigate to localhost and I can see "It ...
0
votes
2answers
705 views

Python program not being started by rc.d in FreeBSD 7.1

I have a python program which I wrote and would like to run on startup in FreeBSD 7.1. For my current installation, the script lives at /home/devuser/project/trunk/src/proj. At the beginning of my ...