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

0
votes
0answers
8 views

Systemd boot on 15.04 is extremely slow compared to Upstart

After upgrading from Ubuntu 14.10 to 15.04, my boot time increased dramatically from around 30s to more than ten minutes. The screen stays black for quite a long time, but when waiting long enough I ...
0
votes
0answers
6 views

upstart task that forks multiple times — how to restart?

consider the following program, let's call it /tmp/forker: #include <stdlib.h> int main(int argc, char* argv[]) { if (fork()) exit(0); sleep(100000000); } and the following shell ...
0
votes
0answers
32 views

how do I diagnose why a process is starting?

I'm running an ubuntu box, mainly as a learning exercise, so I should probably begin by stating that I'm still very much at the "copying commands until something works" stage of unix knowledge. I ...
0
votes
1answer
283 views

How do I setup services to start when Gitlab is ready?

I have a few Upstart services that I would like to have started once Gitlab is started and ready to serve repositories. There is a gitlab-runsvdir Upstart service (came with the gitlab package) that ...
0
votes
1answer
16 views

upstart - chain starting services

I have the following three services: apache2, serviceFirst and serviceSecond. I want to run serviceFirst when apache2 is up and running I want to run serviceSecond when serviceFirst is up and ...
0
votes
0answers
9 views

starting service on systemd won't terminate

Created an executable and planned to use it as service. When running it on Ubuntu 12.04 or 14.04 using upstart, it works fine. However, on Ubuntu 15.04 (with systemd), this command won't not ...
0
votes
1answer
107 views

Failed to connect to socket /com/ubuntu/upstart: Connection refused: Errors were encountered while processing: runit

I'm using Ubuntu 15.04. Whenever I tried to install any package, I got the error message in the title. How can I get rid of this annoying error message? :~$ uname -a Linux LongerVision001 ...
2
votes
1answer
37 views

Systemd is really slow in comparison to upstart

I have been using Ubuntu for a long time now, this is what happened when I use: Systemd: It performs really bad using systemd: it uses 95% of the CPU all the time and the PC gets really hot. Also it ...
0
votes
1answer
18 views

upstart conf file not being copied

Ubuntu 14.04 chroot apt-get install cgroup-lite invoke-rc.d: unknown initscript, /etc/init.d/cgroup-lite not found. If I download source files (tarball), decompress it, there is a ...
1
vote
1answer
23 views

Is there a maximum value for upstart's kill timeout setting?

Upstart's kill timeout will let a service take some amount of time to shut down gracefully before being SIGKILLed. I have a service that could take minutes or hours to exit gracefully (and I'd like ...
4
votes
1answer
280 views

How to run a nohup script with upstart?

I'm porting some SysV-style service scripts for HBase (a java service) to upstart. The sysv scripts don't call java directly, but instead call hbase-daemon.sh. This is a start-stop-daemon-like tool ...
4
votes
5answers
15k views

Why doesn't network-manager start at boot?

I think this started happening a couple of months ago when I upgraded from 10.04 to 12.04. Whenever I reboot, network-manager does not start. I have to manually run sudo start network-manager, and ...
5
votes
3answers
2k views

How can I tell upstart to restart a service when a different service is restarted?

I've an OpenERP server running on one of my servers. It's started by a traditional /etc/init.d/ script. It uses a PostgreSQL database and needs a manual restart every time PostgreSQL is restarted. ...
1
vote
2answers
71 views

Vivid - broken package using upstart on a systemd install

I tried to get dnscrypt-proxy working from this PPA: https://launchpad.net/~anton+/+archive/ubuntu/dnscrypt EDIT: this PPA is outdated, and the correct one to use is ...
0
votes
1answer
24 views

How to run more then one program through a service (/etc/init/*.conf) file

My service, an executable called /opt/mcp/rpe, requires that a second executable is also running, called /opt/mcp/McpVp. In my conf file: /etc/init/mcp.conf I have: description "Run MCP" start on ...
0
votes
0answers
39 views

How can I get past the “Starting version 219” screen with 15.04?

so I was able to log on to my desktop earlier via the (upstart) option at the Advanced Options for Ubuntu, and I had updates to do. I ran the updates, and now I am still getting stuck at the Starting ...
9
votes
4answers
5k views

/sbin/getty process causing 100% CPU utilization

I have an instance of Ubuntu 12.04 LTS (GNU/Linux 3.2.0-25-virtual i686) running as a KVM-VM on a host-machine that runs one more VM beside it. I deploy a Ruby on Rails application using the ...
0
votes
0answers
21 views

Deluge Web-UI only auto-connects when I restart via CLI not upon reboot as it should

So I followed this guide Auto Connect Deluge Web-UI to deamon but as of now, It will not auto-connect upon reboot, only if I manually do sudo service deluged restart Could this be an Init issue? I ...
0
votes
0answers
51 views

Can't login to Ubuntu

I am on Ubuntu 15.04, on an MSI laptop that dual boots with windows 8. More precisely, when I type my login info at the startup screen, it waits a little while, then spends about 1/10th a second on a ...
12
votes
2answers
12k views

How do I set up a service?

I have a script that I would like to run as a service on my Ubuntu Server 11.04 headless box. That is, I want to have the correct files under /etc/init.d/ and to be able to control it via the service ...
1
vote
1answer
57 views

Upstart for docker and setuid permissions

OK, this has kept me busy for a day at least, since last night. I am trying to do something very simple: run a bash script which creates a few folders and runs a docker container - but using upstart. ...
2
votes
1answer
201 views

Cannot stop nginx service

It took me a while to find out, but as of some recent-ish update, I can't stop Nginx on any of my Ubuntu 12.04 or Ubuntu 14.04 servers. I run sudo service nginx stop, and I get nginx start/running, ...
1
vote
1answer
17 views

tomcat base directory for logging

Not sure if this should be on StackOverflow.. I followed this tutorial to install tomcat8 (with java8) on an ubuntu-12.04 instance. It uses the upstart script to install tomcat8 as as auto start ...
1
vote
1answer
1k views

How to get a bundler enabled rails app running as a service with upstart?

I can get some random shell script to run as a service...that's not the problem. I think it's related to environment variables given some of the google-ing I did. Either a list of required rails ...
1
vote
1answer
31 views

I can't get any information or help about an init process called 'scip' which has a log /var/log/upstart/scip.log

My laptop is running Ubuntu 14.04 and I have strange WiFi issues. In looking at /var/log/syslog I see a rapidly repeating error about a crashing init called scip: "Jul 29 09:03:17 ppzuav-UltraPro ...
5
votes
1answer
87 views

How to make an app run as a daemon on Ubuntu when installed?

I have a Java app - although the answer here should be the same regardless of whether it is Java, Ruby, Python, etc. - that I would like to distribute in such a way that when devops folk go to install ...
0
votes
0answers
29 views

Why start-stop-demon doesn't signal property that daemon has started/stopped

Here's a part of the daemon script for BtSync at /etc/init.d/btsync: do_start() { start-stop-daemon --start --verbose --oknodo --background --user $CHUID --user $CHUID --pidfile $PIDFILE --exec ...
1
vote
0answers
23 views

Ubuntu Phone sleep command

I want to use a small script initiated by upstart to periodically synchronise calendar and contacts. The script works and it is started by upstart. Since it is in an endless loop until stopped I ...
1
vote
0answers
25 views

start on ( condition ) in file /etc/init/rc-sysinit.conf

I am actually trying to add a boot options to start only the filesystem or start it with the static-network-up based on some system settings. We have a standard installation for multiple types of ...
1
vote
2answers
99 views

restart my app server automatically through upstart script

I have a Ubuntu 12.04 machine in which I am running my C++ app server which I am controlling through upstart script. Meaning whenever my app server crashes my upstart script will restart them back ...
2
votes
2answers
555 views

Upstart: report (email, log) on respawn and failure

I would like to get an email when an upstart job fails and respawns, and when all respawns are depleted, and the job fails. How can I do that?
2
votes
6answers
14k views

Upstart can't start MySQL

After an installation of MySQL, I get a few errors and I can't run the MySQL daemon. I've tried uninstalling and reinstalling several times, and I'm not sure what's going on. Here's a snippit of what ...
1
vote
1answer
147 views

Upstart session job not being run

I created an upstart session job which should take care of stopping my unprivileged LXC containers when shutting down or restarting the system. I placed the configuration in ...
1
vote
0answers
16 views

Why is systemd installed and running by default on Ubuntu 14.04? [duplicate]

According to my research, "systemd doesn't work with 14.04". However, on all my Ubuntu 14.04 "Trusty" machines, systemd is running: jay@host:~$ lsb_release -a No LSB modules are available. ...
0
votes
2answers
158 views

Installed 15.04, cannot restart ssh daemon

As the title says, I installed 15.04. One of the first things I did was sudo apt-get install openssh-server. The next command was sudo restart ssh, which is greeted with an output of: restart: ...
1
vote
0answers
22 views

Job on Upstart not started

I'm trying to start my application at boot, but I can not ... the script in upstart calls another script, I'm not getting or whether the 2nd script is called, follows the two scripts: 1º Script ...
0
votes
0answers
27 views

Cannot extract package when execut node-webkit application in upstart

I wrote an application using node-webkit and this application needs to be executed when the ubuntu system boot-up every time. I put the command, /path/nodewebkit/nw /path/myapp.nw , into a upstart ...
1
vote
2answers
29 views

How to stop an Upstart Job(Service)

I thought this was easy but it does not seem to. Here is my system info: # nginx -v nginx version: nginx/1.8.0 # uname -a Linux ip-10-0-0-247 3.2.0-69-virtual #103-Ubuntu SMP Tue Sep 2 05:21:29 UTC ...
1
vote
1answer
13 views

How to reverse this dpkg-divert command?

I need to reverse what these lines did: sudo dpkg-divert --local --rename --add /sbin/initctl ln -s /bin/true /sbin/initctl I did this to switch from systemd to upstart so I could finish installing ...
0
votes
1answer
114 views

Using Upstart / init with PHP daemon nohup php daemon.php

Till now I had no real need to learn bash and init scripts as I need to at this point. I have created a custom Twitter app that is persistently, or constantly, connected to the API. It does tasks like ...
1
vote
2answers
223 views

MongoDb installation failing

I am following te simple steps to install mongodb: First: apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10 Worked Good Second: echo "deb ...
0
votes
0answers
31 views

Start Rails Application on Boot Ubuntu

I am trying to make my application Ruby on Rails (OpenProject) starting with the system boot, but to test the script as root, returns me the error: /usr/bin/env:ruby: No such file or directory. My ...
1
vote
0answers
13 views

What does the procps upstart job start on condition need to be to properly apply sysctl.conf IPv6 settings?

In ubuntu 14.04 disabling IPv6 via sysctl.conf does not work. Though the settings are applied on startup, both /proc/sys/net/ipv6/conf/all/disable_ipv6 and sysctl net.ipv6.conf.all.disable_ipv6 ...
2
votes
1answer
90 views

Upstart how to autostart a job after MySQL startup at boot time?

My job is dependent on MySQL. So I want my job could startup after MySQL. I read the upstart cookbook and I find start on can auto start a job. start on started mysql And it works. But I don't ...
11
votes
4answers
4k views

What is Upstart?

Which operating systems besides Ubuntu use it?
11
votes
3answers
13k views

Upstart is not seeing my new script

I've added a new script to /etc/init/ called minecraft.conf which contains the script: start on startup stop on shutdown respawn respawn limit 20 5 script export HOME="/root" exec ...
2
votes
1answer
165 views

Remove upstart option from GRUB

For each Kernel I use with my 15.04 install I have three options in GRUB: normal (systemd) upstart recovery How can I remove the upstart option for all my Kernels?
2
votes
1answer
250 views

What is upstart and why has it made a 38.1 GB file in ~/.cache

Randomly today I got a "disk is full" dialog, indicating I only had 1gb left on / and this quickly became 100mb of free space. So I ran the disk analyzer and found a massive 38.1 GB in ...
0
votes
1answer
752 views

15.04 Error updating boot sequence update-rc.d

I am trying to get Sickrage to auto start, and I'm hitting a wall at the command sudo update-rc.d sickrage defaults Here is the error: initctl: Unable to connect to Upstart: Failed to connect to ...
0
votes
0answers
188 views

Autostart x11vnc in Lubuntu

I am trying to get x11vnc to autostart at boot time to remotely login to a Lubuntu 14.04 box without a local session. I have found several threads related to this issue, but they are mostly outdated ...