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
1
vote
1 answer

Ubuntu upstart won't respawn

This is a problem I've experienced on Ubuntu 11.04, with the two upstart scripts I've made, for Node and Nginx. I'll use Node here as the example. I'm using a fairly standard setup as on tutorials like…
mahemoff
  • 44,526
  • 36
  • 160
  • 222
1
vote
0 answers

Ubuntu puma-manager.conf custom service Job failed to start

I have an Ubuntu 14 server where I run a Ruby on Rails app and I want to create a service that will start the rails server automatically on reboot. This service should allow me to run the Puma server in background, as a daemon process. Up until a…
Pascut
  • 3,291
  • 6
  • 36
  • 64
1
vote
1 answer

Unable to run gitlab-ctl reconfigure after updating from 10.6.4 to 10.8.7 on RHEL 6

I am working on the upgrade to the latest 11.x version of gitlab but needed to upgrade to 10.8.7 first from 10.6.4 on RHEL 6. That upgrade proceeded normally, then I attempted the upgrade to latest 11.x but it failed with a message about deprecating…
Matt
  • 1,328
  • 1
  • 16
  • 28
1
vote
0 answers

How to fix erlang application restarting with upstart?

I have an erlang application (OTP 21) that runs as an upstart service. When I try to restart application with sudo initctl restart my_service I got an error: Protocol 'inet_tcp': the name my_service@localhost seems to be in use by another Erlang…
1
vote
0 answers

How to disable serial console during bootup

I have stopped ttyS0 (initctl stop serial DEV=ttyS0). The ttyS0 process stops for the session but reappears post to reboot, I want to disable ttyS0 at boot as it throws errors like: Feb 19 20:19:42 sdm2 init: serial (ttyS0) main process (608881)…
Unixquest945
  • 103
  • 2
  • 10
1
vote
1 answer

Why is my RubyGems environment different when using setuid from an upstart script?

I'm having a problem where my RubyGems environment is wrong when starting a Rails application from Upstart on Ubuntu. In my Upstart script I use setuid www, then run a wrapper script which eventually starts Puma. From the command line, as user www,…
Ryan Fisher
  • 1,485
  • 1
  • 19
  • 32
1
vote
0 answers

How to start a program on localhost server on reboot using shell script

We are trying to start a go program which runs localhost on the specified port when the system reboots using shell and crontab. Following is the work we have done so far: created a shell file called goinit.sh. In which we have…
spunk
  • 11
  • 1
1
vote
0 answers

Running python script with upstart

I try to run python script, script runs multiple processes and one process runs multiple threads. This script run under root and 'initctl stop script' done successfully (script stops), but if I run this script under another user script dont stop…
1
vote
0 answers

Airflow starting with upstart

I have old version of upstart (0.6.5) and want to start airflow webserver with upstart. description "Airflow webserver daemon" start on started network-services stop on (deconfiguring-networking or runlevel [016]) respawn respawn limit 5…
1
vote
1 answer

Upstart job running script

Ubuntu 14.04 I have simple upstart job test.conf: root@ubuntutest:~# cat /etc/init/test.conf expect fork script /root/test.py end script and simple python script /root/test.py: root@ubuntutest:~# cat /root/test.py #!/usr/bin/python import…
1
vote
1 answer

upstart run script between particular time

I would like to run a script between two hours using upstart: start at: 9h00 stop at: 23h30 This is my upstart: author "bakka" start on runlevel [2345] stop on runlevel [!2345] respawn script H_BEGIN="905" H_END="2330" H_NOW=$(date…
Bakka
  • 39
  • 6
1
vote
0 answers

Upstart job and dependencies

We have three jobs, job1, job2 and job3. With job3 depending on the other two: job3 config start on (started job1 and started job2) stop on (stopping job1 or stopping job2) with this configuration, job3 starts on OS start up. And in the event of…
jouge
  • 13
  • 7
1
vote
0 answers

How to Raise upstart access?

My project run when i use ./launch.sh command in terminal. But with upstart not run, i try to run it i get this on upstart log: Operation not permitted It seems like little access, My upstart script: description "upstart script" respawn respawn…
1
vote
1 answer

A better way to make a Node app run forever on a Linux server?

currently I use nohup and forever.js to run my app on the server (Linux) without interruption: nohup forever app.js > logs & plus I have a cron script that checks if my neo4j database is online and relaunches it if necessary. However, sometimes my…
Aerodynamika
  • 7,883
  • 16
  • 78
  • 137
1
vote
0 answers

Converting chef upstart template to systemd for ubuntu 16.04

I have one upstart template in chef-Cookbook and want to convert it into Systemd so that it can be supported in 16.04. I have already converted but faced the issue as my server is not starting properly. Below is the upstart script…
Baloria
  • 11
  • 1