Upstart is an event-based replacement for the /sbin/init daemon which handles starting of tasks and services during boot, stopping them during shutdown and supervising them while the system is running.

learn more… | top users | synonyms

1
vote
2answers
195 views

Exactly how does one navigate through ubuntu's startup files?

I understand that there is a switch from init.d to init in Ubuntu. Init.d was fine for me, but I can see and appreciate the change. I am also incredibly thankful that the config files are not foul ...
5
votes
1answer
2k views

What signal does upstart/initctl use to restart a job?

What signal will upstart/initctl use to restart a job? Furthermore, is there any way to specify that SIGHUP should be used? Alternately, is there a way to define a custom reload command that will ...
2
votes
1answer
1k views

autofs fails to mount nfs mounts on Ubuntu Lucid Lynx (10.04)

When booting, the system fails to mount nfs mounts due to statd not being started. After manually starting statd, nfs mounts are automatically mounted by autofs. Even though /etc/init/statd.conf ...
1
vote
1answer
1k views

Restart mysqld with a command line parameter on ubuntu 10.04

Getting my hands dirty with a MySql slave setup, I ran into a puzzling question: how do I pass any of the myriad options to mysqld (--skip-slave-start in this particular case) when I am restarting it ...
2
votes
2answers
333 views

Upstart event based on level

Upstart provides support for starting jobs based on an events arguments: start on custom-event NAME=foo This will only start the job when custom-event is emitted and the argument NAME has the value ...
0
votes
1answer
424 views

Script fails when run from cron

I have some embedded machines which are on an unreliable connection which network manager unfortunately isn't handling well. Currently I need to check for connectivity and then restart network manager ...
0
votes
1answer
284 views

Zend Server + Daemontools

Is anyone running Zend Server under Daemontools? I know I can use -D NO_DETACH to run apache under daemontools. But, I'm not sure if the other Zend Server components (monitor, lighthttpd, scd, ...
8
votes
2answers
3k views

Have upstart read environment from /etc/environment for a service

What is the best way to provide the environment variables defined in /etc/environment to an upstart service? I think simply sourcing them with . in a script section does not work, because the ...
0
votes
1answer
277 views

Ubuntu Server not rebooting but will power off

I have 2 identical servers running Ubuntu 9.10 and I've been playing with Ubuntu's upstart system, trying to write a sort-of complex boot order for a few services. I've also played with init scripts ...
1
vote
1answer
4k views

Restart networking in ubuntu karmic (9.10) using upstart

As far as I know karmic uses upstart to control some of the services. Is there any way to restart the networking service without rebooting the system? The problem is that when I try to do it in any ...
2
votes
3answers
1k views

Ubuntu Server: Running processes at boot time

How do I make Ubuntu Servers run services at boot time, in a specific order? I have read a bit about Upstart, init.d and inittab, and I'm not sure what's the right approach for doing it. Thanks, ...