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
39 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
32 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
36 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
31 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
215 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
88 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
22 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
267 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
54 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
1k 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
2k 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
568 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
159 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
38 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
113 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
49 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
110 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
162 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... ...
2
votes
1answer
1k 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
40 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
293 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
98 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.
2
votes
2answers
1k 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 ...
2
votes
0answers
172 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
49 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
51 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
57 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
64 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
14 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
14 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
60 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
221 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
2k 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
304 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
130 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
57 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
44 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
45 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
293 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
50 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
534 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
46 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 ...
1
vote
0answers
158 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 ...
0
votes
0answers
152 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
285 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 ...
0
votes
1answer
282 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
281 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. ...
1
vote
2answers
3k 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 ...
1
vote
1answer
208 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 ...