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

2
votes
1answer
329 views

upstart on 8.04

My understanding is that upstart is installed on 8.04, but it's different than 10.04. I'm having trouble finding documentation on how to start/stop/check services from the command line for 8.04. ...
8
votes
4answers
6k views

Automatically mount sshfs on startup?

Is it possible to automatically mount a sshfs filesystem whenever the connection goes up?
291
votes
7answers
314k views

How to enable or disable services?

I read about how to enable and disable services in Ubuntu and it seems that there are different possibilities to manage them. The first method I found is update-rc.d to add new services to startup, ...
3
votes
1answer
344 views

Is init.d “safe” enough to use or should i use `runit` or `daemontools` on a server

I am looking to deploy my application on a server on which I would have no access in the future. I would like to have an indication of start-up errors generated by my program in particular and the ...
3
votes
1answer
3k views

How to set up Java-based services for startup?

What's the best way to set up a Java-based program to run an service and start on boot? upstart (pre-start script and post-stop script ?) plain old SysV init? (start-stop-daemon ?) In my case I am ...
8
votes
1answer
4k views

How do I disable irqbalance?

The title says it all really. I don't want to just kill something that seems so close to the bare metal, and sudo service irqbalance stop says stop: Unknown instance: -- what am I missing? Should I be ...
5
votes
2answers
5k views

MySQL server Upstart script not working on boot

For some reason the Upstart script for the MySQL server isn't working when I boot my server, however it does work once the server has booted and I execute sudo start mysql manually. I'm running an ...
9
votes
3answers
8k views

From init.d to upstart, is there a bridge?

I've got a perfectly good script for use in /etc/init.d. In fact, I have a lot of them, all created with the Tanuki Java Service Wrapper. It would seem to me that there could be a simple template for ...
12
votes
3answers
6k views

How to set a Upstart job to start manually?

I want to disable a bunch of upstart jobs here. I know how to make a upstart job. And also I know how to stop manually a job. However, I can't find a sample where I turn a automatically job into a ...
3
votes
1answer
383 views

Why does mysql process starts on boot?

As you can see, mysql exists only in the /etc/init.d directory and not in /etc/rcN.d, therefore it shouldn't start on boot. $ sudo find /etc -regex ".*\(rc.*d\|init\.d\).*" | sudo grep "mysql" | sort ...
4
votes
2answers
3k views

How do I setup gunicorn?

Upstart doesn't like to start gunicorn because it tries to call setpgrp (see github issue), what would be the best way to start [gunicorn] on a 10.04.1 server install? - Ideally with automatic ...
1
vote
1answer
805 views

Auto complete for startable/stopable services?

Before upstart it was easy to get proper autocomplete, e.g. I type sudo /etc/init.d/rsys<tab> and what I want to do and there I go. Now I need (?) to write sudo stop rsys<tab> but it ...
6
votes
1answer
3k views

why would /etc/init.d/mysql run the wrong upstart job?

update: /lib/init/upstart-job has been replaced with the MongoDB init script. For some reason, /etc/init.d/mysql start|stop|restart|status (/etc/init.d/mysql is simply a symlink to ...
6
votes
2answers
6k views

upstart config to start sync daemon as non-root user

I am planning to use inosync to sync data from master server to several client servers. I have created a user called rsyncuser in both master and slaves with access permissions and passwordless ssh ...
6
votes
3answers
5k views

Auto-start service on bootup that depend on network

I have a particular service (in this case OpenFire) that runs at startup. When it starts, it attempts to connect to a database at a given hostname. At startup time it fails to connect to that ...
21
votes
2answers
5k views

Is there any GUI tool for Upstart

Is there currently any GUI based application to show currently running services, with buttons to start and stop services? It doesn't necessarily need to be able to set boot up behaviour.
1
vote
2answers
2k views

upstart, exec and stderr

I am using syslog-ng on a Ubuntu Lucid machine with the following upstart script: # syslog-ng - system logging daemon # description "Syslog-ng daemon" start on (local-filesystems and ...
15
votes
6answers
7k views

upstart-supervised init script for Apache?

I want to run apache on Ubuntu 10.04, and use the nice supervision stuff in upstart (I'm not just talking about the apache init script, but proper service supervision a la daemontools - which is to ...
62
votes
2answers
42k views

What's the difference between “Service” and “/etc/init.d/”?

I've been managing server installations both on and off Ubuntu flavor for some time - I've become quite adjusted to /etc/init.d/ for restarting servcies. Now I get this message: root@tatooine:~# ...
9
votes
4answers
3k views

What is Upstart?

Which operating systems besides Ubuntu use it?