3
votes
2answers
58 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
70 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
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
4k 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 ...