The tag has no wiki summary.

learn more… | top users | synonyms

6
votes
1answer
3k views

Using Upstart to Manage AutoSSH Reverse Tunnel

I'm using upstart to manage a reverse SSH tunnel via autossh. When I do a "sudo start tunnel" the connection comes up just fine; however the command is not being automatically run when the networking ...
4
votes
2answers
1k views

How To Shutdown Ubuntu Automatically X Minutes After Starting Up?

How would one automatically shutdown an ubuntu OS 30 minutes after it was turned on? Or 15 minutes after it was turned on? Etc? I tried creating an init.d script like so: shutdown -h +5 But my box ...
3
votes
3answers
803 views

CentOS: Init scripts failing to start for some unknown reason

I'm running CentOS 6.2 - I've just migrated some applications over to a failover server, and copied their init scripts into /etc/init.d. I've made them executable, added them to chkconfig, with ...
0
votes
1answer
2k views

How to mount a root aufs in Red Hat / Fedora Core?

I'm trying to set up a virtual machine running Red Hat EL (actually Scientific Linux, but same difference) where the root file system is protected and not writable. I'd like to accomplish this with a ...
3
votes
2answers
3k views

init script that logs output of the script

How can this be done? I know it's pretty simple and includes appending something like & or &> to the actual command that starts the init script. But, what is the best approach and how can ...
1
vote
1answer
732 views

Upstart: defining service dependencies / priorities

I am working on an app which runs several services / daemons using upstart. These should start on system startup, but only after the DB server (in our case mongo) was started. I am looking for the ...