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
90 views

How are services started in Ubuntu 14.04, Upstart, SysV or a combination of both?

I have these 2 webservers installed on a development machine and because they both bind to port 80 only one can be running at any given time. I would like to be able to modify the init startup ...
2
votes
0answers
25 views

Early adbd on ubuntu touch device

I need to run adbd at early boot stage (before lightdm has started) on Ubuntu touch device (Nexus 10). As far as i know, adbd is launched after login screen password is entered. In upstart scripts i ...
0
votes
1answer
61 views

Isn't it counterproductive to have systemd, upstart and init.d all running at the same time in a system? [closed]

I've been reading about the many different start up methods on boot by Ubuntu. And it's great that things are moving forward, but right now we have three different ways to start processes on boot, all ...
0
votes
1answer
84 views

Where does Gunicorn come from in `service gunicorn restart`?

When I pip freeze, I do not see Gunicorn. I am wondering where Gunicorn comes from when I run service gunicorn restart/stop. And what is service's relationship with Upstart? Thanks. Edit: I now ...
0
votes
0answers
50 views

Upstart: Start bitcoind if it stops running

On Ubuntu 14.04 I have not been able to get the Bitcoin daemon to automatically restart. Rarely the daemon dies and it is important that it starts again without manual intervention. To get it to start ...
0
votes
0answers
61 views

/var/log/upstart/systemd-logind.log is not rotating (Ubuntu 14.04)

On several (corporate, not personal) Ubuntu 14.04 machines, I'm seeing the following behavior: # date Wed Nov 11 21:27:50 UTC 2015 # ls -lAF /var/log/upstart/ total 2416 [...] -rw-r------ 1 root root ...
0
votes
0answers
27 views

How to run a script after user login, but before desktop loads?

I have a script that mounts an encrypted partition with a key that is available only after successful user logon (on his home's ecrypt-fs). The script gets called asynchronously by upstart job on ...
0
votes
0answers
28 views

Error Message on ansible deployment

Is anyone knows some about this error message: NOTIFIED: [nodejs_app | restart app] ****************************************** failed: [qastatus0] => {"failed": true, "item": ""} msg: stop: ...
0
votes
1answer
21 views

xinetd starts too early

When xinetd starts when the server boots, it complains that the IP sepecified in one of the service descriptions isn't available. My IP for eth0 is not configured in /etc/network/interfaces, but in ...
0
votes
0answers
19 views

Killing the process started with upstart

I use upstart to launch rails app with unicorn. This is the conf file in /etc/init/unicorn_rails.conf. # simple uWSGI script # http://uwsgi-docs.readthedocs.org/en/latest/Upstart.html description ...
0
votes
0answers
19 views

Can I force upstart to respawn a process that exited with exit code 0?

Hi I have a job that some times get a kill -TERM The jobs stops with exit code 0. I have an upstart script that monitors this job. However it's not respawning the job because the exit code is 0. Can I ...
0
votes
0answers
57 views

Creating a basic service in Ubuntu server

I am new to Linux/Ubuntu and Python so forgive me for asking basic question. I have written a basic Python script which keeps an eye on bytes received using psutil's function and spits out a print ...
0
votes
0answers
41 views

Run upstart as non sudo user

I have a upstart of uwsgi, I want non-sudo user to run uwsgi. In ubuntu server 14.04 I have two users, user1(has sudo access) and user2(doesn't have sudo access). upstart script I have ...
0
votes
0answers
17 views

upstart my.conf ifconfig changes seem to either have no effect, or get overwritten during startup

I have installed an upstart script like this: # This needs to go into the /etc/init/ folder description "Run MCP" start on runlevel [2345] stop on runlevel [016] console output script # ...
0
votes
0answers
199 views

How to deal with upstart vs systemd warnings during update to Wily?

I am upgrading to Wily atm and I noticed a bunch of upstart warnings like this: initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused insserv: ...
1
vote
0answers
33 views

Cannot create custom mount point for /dev in systemd

I am working in an embedded system and we are migrating from upstart to systemd. I am trying to write .mount file for /dev in rootfs. But this failing. Can somebody please help ? # This file is part ...
1
vote
1answer
338 views

Use crontab to restart an Upstart service on schedule?

I need to restart shiny-server (Upstart service) on Ubuntu 12.04 on a routine schedule. Typically, if I want to restart this service manually, I simply type: sudo restart shiny-server or service ...
4
votes
1answer
731 views

What starts accounts-daemon?

Question is simple: what starts the accounts service daemon on Ubuntu 14.04? root 11495 1 0 13:55 ? 00:00:00 /usr/lib/accountsservice/accounts-daemon pstree tells me that it's ...
1
vote
1answer
221 views

Docker is managed via upstart, try using service docker

I'm using following system: root@alexus:~# cat /etc/issue.net Ubuntu 14.04.3 LTS root@alexus:~# uname -a Linux alexus 3.13.0-57-generic #95-Ubuntu SMP Fri Jun 19 09:28:15 UTC 2015 x86_64 x86_64 ...
1
vote
1answer
92 views

upstart script is not picking system default environment variable

I have one openstack based service. Which we are ran using upstart script. upstart script # filename: /etc/init/myservice.conf start on runlevel [2345] and started mountall stop on runlevel [016] ...
2
votes
0answers
36 views

Using Screen inside /etc/init

I am trying to launch a .jar inside a screen session at boot using /etc/init Here is my script (pretty standard:) start on runlevel [2345] stop on runlevel [^2345] console log chdir ...
0
votes
1answer
75 views

How to start an application at boot time or as a service

in order to be able to start my application at boot time i have followed the Upstart instruction. I have create a file /etc/init/poolparty.conf, within which i have defined the following: # ...
2
votes
1answer
43 views

REGEX not working at Upstart script

For Upstart Script, regex always gives me false, however it does work once I run script manually. /etc/init/sync_remote_users.conf: start on filesystem and net-device-up IFACE!=lo stop on runlevel ...
1
vote
1answer
58 views

Upstart job not recognized

I wrote a simple upstart job: start on runlevel [2345] stop on runlevel [016] exec dnscrypt-proxy -E -R cisco-ipv6 It starts properly on boot, but is still not recognized by service --status-all ...
0
votes
0answers
79 views

Debugging Upstart script for nodejs process

My Upstart script is as under. It looks long, but its mostly comments. If you can bear to read through it, then I get an error like .... typeerror: arguments to path.join must be strings... ...
1
vote
1answer
520 views

Why do Upstart jobs use `start on runlevel [2345]`?

I see many Upstart jobs using a directive like the following: start on runlevel [2345] The Upstart Cookbook provides the following list of runlevels for Debian/Ubuntu: 0 : System halt. 1 : ...
0
votes
0answers
36 views

Upstart not executing script

Running Ubuntu 14.04 64-bit. Doesn't seem to want to run my simple script. I have a file located at: /etc/init The file karl.conf: # startup script by karl # run when system starts up start on ...
1
vote
1answer
133 views

How to start a delay job correctly using Upstart?

The current script: start on (net-device-up and local-filesystems and runlevel [2345] and started rsyslog) stop on runlevel [!2345] respawn exec /usr/sbin/openvpn ...
0
votes
0answers
54 views

how do i start a node js application as service?

I have a node js application and I need to run that application as a service. I am using forever with node.js to run the application once the system has been rebooted.
0
votes
1answer
312 views

How can I stop mongodb from starting on system boot

I installed mongodb for learning purpose, the problem I am facing is that it starts on system boot and consume resources even if not being used. I want it to be removed from system boot, how can I do ...
1
vote
0answers
92 views

deluge daemon crashes: There is a deluge daemon running with this config directory!

I am having a similar problem as described in Deluge Daemon continues to crash. I am sure, however, there are no deluge processes in the background when I start the daemon service. Here is my process ...
0
votes
1answer
42 views

Locate the id of multiple input devices and change the value of its property

I was looking at this which answers if there is only one of the device names. The id's can change when unplugging the device and plugging it back in, this is why I need to get them by their names. I ...
0
votes
0answers
46 views

error in login and boot and install/remove pakage and update os

Hello I am an Amateur and I have 3 problems 1- I do not boot normally because a lot of the time it takes a long time to boot and login screen had no mouse pointer. I had to to solve problem by using ...
2
votes
2answers
46 views

Software works when run manually through the terminal but not as an Upstart service

I have written a software that will act as a server to an application I've made. This works perfectly when I run it from the terminal but crashes every time on a very specific action when I run it as ...
1
vote
1answer
48 views

Problem closing a program with upstart in 14.04

This is the code: description "NZBGet upstart script" setuid martin setgid martin start on runlevel [2345] stop on runlevel [016] respawn pre-start script exec /home/martin/nzbget/nzbget -D end ...
0
votes
0answers
12 views

Upstart restart sends multiple SIGHUPs

I'm trying to restart a process that is a little picky with how it handles signals (namely, one SIGHUP triggers shutdown, but if it receives a second while shutting down, it attempts to come back up ...
0
votes
0answers
13 views

Running aftermarket Lenovo software on 14.04?

I just purchased my computer (Lenovo ThinkPad Yoga s1) and I tried following this guide to fix issues with the screen and Wacom stylus. Python code is stored at /opt/thinkpad-yoga-scripts and copied ...
2
votes
0answers
43 views

Can't get slanger to start as an Upstart service

I have created the file /etc/init/slanger.conf and I'm trying to get it to start as a service. The following are the contents of the file start on started networking and runlevel [2345] stop on ...
0
votes
0answers
162 views

15.04 Can only boot with upstart, systemd boot fails

If I try a normal boot into 15.04, I get thrown into a command line-only session with some disks marked read-only. I can boot fine with upstart. The tail end of dmesg when I boot under systemd is: ...
4
votes
1answer
928 views

Will it be possible to switch from systemd to upstart from 15.10 onwards?

In Ubuntu 15.04, it is possible to switch from systemd to upstart. Will this ability be retained going forward?
1
vote
0answers
301 views

service xxx start runs in background only

I have a service that I run with a program that we developed. I want this program to start on startup and I want it to run in the foreground. Now I got it to a place where I can run it using " ...
1
vote
0answers
97 views

Can't find job mysql on crouton precise

I'm using Ubuntu precise as chroot in my chromebook machine. I'm trying to install mysql through apt-get install mysql-server. The thing is, when I try to start it, it can't find the job: ...
1
vote
0answers
15 views

Systemd boot on 15.04 is extremely slow compared to Upstart [duplicate]

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
41 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 ...
1
vote
1answer
33 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
2answers
39 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 ...
3
votes
1answer
197 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 ...
1
vote
1answer
42 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 ...
2
votes
2answers
428 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
38 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 ...