0
votes
0answers
62 views

Add iptable rule before networking starts

I have an iptable rule that is critical. I have followed the instructions here to make sure the rule gets added when the server is rebooted. However, my rule drops ping requests. I've noticed ...
0
votes
0answers
246 views

Correctly configure daemon (god) in /etc/init/ so it automatically starts during a reboot

For the life of me, I need help. I have Ubuntu 12.04 LTS installed and I believe that this version of Ubuntu already comes pre-configured with Upstart, which I'm assuming that all I need to do is ...
12
votes
1answer
17k views

Is reboot the same as init 6?

Is reboot the same as init 6 for ubuntu? I'm running Ubuntu 12.04 on Amazon EC2. When ssh'ed into the box I can type runlevel and I get: N 2 Looking at man reboot I see that: When called with ...
3
votes
1answer
875 views

On 10.04 Lucid, how can I add a script to startup to run as another user?

On 10.04 Lucid, how can I add a script to run at startup as another user? Will I add a script someplace like /etc/init.d/myscript ? Or is it better to put it in the cron file for root as @reboot and ...
4
votes
1answer
4k views

When you run `update-rc.d myscript default` - what is called on startup/shutdown?

What gets called on startup/shutdown when you run update-rc.d myscript default? Docs seem fuzzy, I want concrete. I am guessing that this happens: At startup (specifically at entry to runlevel 2, ...
0
votes
1answer
100 views

Start the same “sessions” after shutdown

Many times it happen I got several terms & app sessions opened, while I just have to quick shutdown the machine to move away in another building. Is there a way, when I next boot the laptop, to ...