Stack Exchange Network

Stack Exchange network consists of 171 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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

Customize upstart script log rotation?

I'm using Upstart to run a script in Ubuntu 14.04. Upstart seems to have a default logging and rotation configuration (unless I'm just not seeing where that was previously configured). How can I ...
0
votes
0answers
17 views

Upstart script: Job failed to start

I am trying to run apache superset inside a vagrant virtual box ubuntu environment with uwsgi and nginx. The issue I have is that my upstart script won't start (start: Job failed to start)? ...
0
votes
0answers
16 views

Golang service ubuntu terminated with status 2

I have an upstart service as follows: description "OpenDDNS Daemon" author "Khanh Hua" # used to be: start on startup # until we found some mounts weren't ready yet while booting start on ...
0
votes
0answers
27 views

Upstart duplicate process, one with “sudo” and one without

I've set up two node applications to run persistently using Upstart. The problem is that these processes get duplicated, there is a session leader (Ss) and a multi threaded process (Sl): root ...
0
votes
0answers
29 views

Upstart does not start job

How can I debug the following issue? Trying to start the service, it says it is running: service zabbix-agent start start: Job is already running: zabbix-agent But it is not: ps aux | grep zabbix ...
0
votes
1answer
34 views

SSH crash on startup

My connection ssh to my VPS is not working anymore, i checked the auth.log file and found this : auth.log Jul 28 20:22:04 warp sshd[31257]: Accepted password for root from MY_IP port 49196 ssh2 Jul ...
0
votes
1answer
199 views

Running daemon as non-root user in Upstart script

I have an upstart script that runs a background daemon that I want to run as a specific non-root user. The script is here: How To Create a Calibre Ebook Server on Ubuntu The relevant bit is here: ...
0
votes
0answers
36 views

Which init system is main on particular system?

I have installed application with several init scripts as for dpkg -L application shows. For example: /etc/init/application.conf /etc/init.d/application /usr/systemd/applaication.service But i use ...
0
votes
0answers
11 views

Upstart job works from command line but not cron [duplicate]

I am totally flummoxed. I have a cron job that runs a python script. I installed it on my vagrant using Puppet and Upstart. It calls two different endpoints and combines the returned response data ...
0
votes
0answers
92 views

How to create Deamon on Ubuntu 16 using Upstart

I'm trying to create a Deamon on Ubuntu 16 using Upstart. In /etc/init folder I have created a configuration file mylistener.conf with the content as shown below: /etc/init/mylistener.conf # Info ...
1
vote
1answer
73 views

Sending Message to server over socket on startup using Upstart

Problem I need to send a message to a a server via a TCP socket during computer startup. We are using Ubuntu 14.04 and therefore, by default, must use Upstart as the system initialization. (We also ...
0
votes
0answers
26 views

Upstart, discover task start order

I'm working on a server I didn't build. I've added a node.js task to start (see file). However, on server start, it's not functioning. If I do a node killall (and then let upstart restart it)...it ...
0
votes
0answers
388 views

Upstart: init-checkconf is currently not installed

I have Ubuntu 16.04 and I wrote a python script which I wish to keep running as long as my system is on. So I made an upstart test.conf file and placed it inside as /etc/init/test.conf. When I ran ...
0
votes
1answer
40 views

How can I set the same set of environment variables for multiple upstart daemons?

I have a bunch of job/daemon configuration files, say: /etc/init/service1.conf /etc/init/service2.conf /etc/init/service3.conf Most of those jobs are quite similar, and the files are of a format ...
0
votes
0answers
16 views

Upstart config with startup-wrapper

I want to create an upstart config file for a service which can be started with /usr/sbin/myservice start and stopped with /usr/sbin/myservice stop. Both calls are not long-running, they perform a lot ...

15 30 50 per page