Questions tagged [upstart]

Upstart is an event-based replacement for the traditional init daemon used to perform tasks when the computer is started.

Upstart is an event-based replacement for the traditional init daemon used to perform tasks when the computer is started. Be sure to check out the cook book found at : http://upstart.ubuntu.com/cookbook/

545 questions
3
votes
2 answers

Start node server on machine startup

I was trying to start node.js server on startup of the machine (ubuntu 16.04) with upstart by using the the following code in nodeserv.conf file: #!upstart description "Node.js server" author "Sushant Kumar" start on started mountall stop on…
Sushant Kumar
  • 91
  • 2
  • 5
3
votes
1 answer

Upstart to Systemd

We have a .conf file named private-api.conf in the location /etc/init , So my file location is - /etc/init/private-api.conf The contents of my file is as following - # start when server starts start on runlevel [23456] # Stop when server shuts…
Dev1ce
  • 5,390
  • 17
  • 90
  • 150
3
votes
1 answer

How to upgrade/install Upstart deamon version 1.5 on Amazon Linux

I instantiate an Amazon Linux machine through EC2 service and the virtual machine already have the "Upstart" daemon, version 0.6.5, installed. How can I upgrade this package to newest version, this case the version 1.5? sudo initctl --version…
ruzenhack
  • 973
  • 2
  • 8
  • 18
3
votes
2 answers

service docker start fails (daemon is not a docker command)

I have a problem after I have tried to restart docker. Since then, service docker start returns "start: Job failed to start". This may have started once I have changed docker.conf. I have tried to reupload it using the command wget -O…
Matej Briškár
  • 599
  • 4
  • 17
3
votes
2 answers

Start Sidekiq on system boot up. Ubuntu 14.04

I read entire Internet, but can't do this. Need start Sidekiq on VDS (Ubuntu 14.04) boot up. I found and use this: # /etc/init/sidekiq.conf - Sidekiq config # This example config should work with Ubuntu 12.04+. It # allows you to manage multiple…
nobilik
  • 736
  • 9
  • 29
3
votes
1 answer

Start spark standalone master with Upstart

I'm an Upstart newbie (and a Spark newbie for that matter), I've been able to start a spark standalone server using: ./spark-1.5.2-bin-hadoop2.4/sbin/start-master.sh and I want this to start automatically every time the computer is turned on, I…
Ezer K
  • 3,637
  • 3
  • 18
  • 34
3
votes
0 answers

How to automate an upstart script in Docker container

I was following this tutorial of setting nginx and uwsgi to serve a Flask application. I ran into a problem after configuring upstart script. It says: You can start the process immediately by typing: sudo start myproject I was trying to configure…
I. Yegor
  • 356
  • 1
  • 6
3
votes
0 answers

convert following systemd into upstart for ubuntu 14.04 -- uwsgi emperor mode did not work as expected

I have the following script that was given to help me turn on uwsgi at emperor mode. https://www.digitalocean.com/community/tutorials/how-to-serve-django-applications-with-uwsgi-and-nginx-on-centos-7 I have tweaked it slightly for the…
Kim Stacks
  • 10,202
  • 35
  • 151
  • 282
3
votes
2 answers

Unicorn service upstart script throws "-su: bundle: command not found"

I recently created a VPS on DigitalOcean to host a rails app. I followed their guide to setup Unicorn with my application. https://www.digitalocean.com/community/tutorials/how-to-deploy-a-rails-app-with-unicorn-and-nginx-on-ubuntu-14-04 A problem…
zjwang
  • 425
  • 6
  • 18
3
votes
1 answer

How to reliably manage a phoenix app with upstart

I've just recently updated my phoenix application to 0.16.0. And I am following the docs related to deployment. Everything has gone relatively smoothly until now. The phoenix docs tell you to setup a upstart script as such: description "test phoenix…
switchflip
  • 403
  • 1
  • 5
  • 13
3
votes
1 answer

process management with python: execute service or systemd or init.d script

How to efficiently and correctly manage processes with python. I want to run commands like: /etc/init.d/daemon stop service daemon start systemctl restart daemon Is there any python module available for this? Any help will be highly appreciated.
Arindam Choudhury
  • 2,816
  • 2
  • 18
  • 22
3
votes
0 answers

ubuntu upstart distinguish between manual and automatic start/stop

Is there a way to distinguish between whether a startup script has been triggered automatically during boot or manually from the command line ?
stepper_m
  • 63
  • 7
3
votes
1 answer

Solve with SaltStack: initctl: `Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused`

I got the following error when I attempted "vagrant up" on the standard ubuntu/vivid64 with virtualbox: initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused The full error stream is here:…
Nathan Basanese
  • 8,475
  • 10
  • 37
  • 66
3
votes
0 answers

Error in elastic beanstalk upstart script?

I have a AWS Elastic beanstalk app with ruby/puma configured. I see this in the instance's /etc/init. A puma.conf file with $ cat /etc/init/puma.conf description "Elastic Beanstalk Puma Upstart Manager" start on runlevel [2345] stop on runlevel…
Karthik T
  • 31,456
  • 5
  • 68
  • 87
3
votes
2 answers

Portable Init Script?

How to write a portable init Script which works with upstart (Ubuntu) systemd optional init.d Other platforms (Windows, Android, OS-X) are not important in my context.
guettli
  • 25,042
  • 81
  • 346
  • 663