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
2
votes
1 answer

Process is not respawning when an associated post-stop process is killed

I have a process xyz, whose upstart script is as below description "Run the xyz daemon" author "xyz" import SETTINGS start on ( start-ap-services SETTINGS ) stop on ( stop-ap-services SETTINGS ) or stopping system-services respawn oom…
Sankeerna
  • 21
  • 5
2
votes
0 answers

How to set memory limits on Docker Daemon when using Upstart as an init system?

The answer to question, Docker 17.06-ce default container memory limit on shared host resources is applicable to my question, except it proposes a Systemd only solution. I have read question, Setting memory consumption limits with Upstart, except I…
dnk8n
  • 675
  • 8
  • 21
2
votes
1 answer

Sidekiq with multiple instances with different queue using same redis server

Recently had to prioritize my Sidekiq queues (before I was using only the default queue). so, i thought of using reserved queues as per https://github.com/mperham/sidekiq/wiki/Advanced-Options#reserved-queues config/sidekiq.yml…
Harikrishnan
  • 94
  • 1
  • 7
2
votes
1 answer

How to manage a group of resque workers using systemd?

I'm trying to migrate control of a group of resque workers from upstart to systemd. Under upstart we were able to have two control scripts, one script that defined a single worker and a second script that invoked the first script multiple times to…
Ben
  • 432
  • 5
  • 16
2
votes
1 answer

Amazon Linux 2 AMI cannot start program with upstart

I wanted to run my server when connection to terminal is closed but i cannot do it. Whenever i try to sudo start myconf_file it returns with start: command not found or even sudo initctl start myconf_file with initctl: command not found. I am trying…
HowToGo
  • 327
  • 1
  • 4
  • 14
2
votes
1 answer

Puppet start on device with no clock?

I'm starting puppet agent using upstart on a Debian 14.04 embedded system: description "Puppet Agent" start on started 2klic-gateway stop on runlevel [!2345] respawn pre-start script if [ ! -f /var/lib/sc2klic/system.json ]; then stop…
Philip Kirkbride
  • 21,381
  • 38
  • 125
  • 225
2
votes
3 answers

Process monitoring - Python/Ubuntu/Linux

I have a few processes I need to run in deamon mode, I just discovered upstart so I am starting to use it. Are there any python libraries or applications that I could use to monitor and control these processes from an html interface? I'm asking as…
RadiantHex
  • 24,907
  • 47
  • 148
  • 244
2
votes
1 answer

Fork processes indefinetly using gnu-parallel which catch individual exit errors and respawn

I guess the title gives you this thought. Another duplicate question Well, let me explain this in detail. Okay, here we go. I am using gearman to handle stack of tasks. I have a gearman client which send this task to workers. To run these task…
reoxey
  • 684
  • 1
  • 7
  • 18
2
votes
2 answers

RHEL7 systemd start mongo services automatically?

I have a RHEL7 server that is part of a Mongo cluster. There are three mongo processes that I would like to be automatically started on system boot. One mongod, one arbiter and one mongos: /usr/bin/mongod -f /etc/mongo_shard001.conf /usr/bin/mongod…
2
votes
2 answers

Ubuntu 16.04 | Upstart killing my process right after it starts

I'm trying to run the binary monerod right on startup and it runs but gets killed right after. Upstart .conf code: start on started [redis] stop on shutdown script exec /home/crypto/daemon/monerod end script pre-stop script echo…
D. W
  • 25
  • 5
2
votes
2 answers

Use Metabase on Ubuntu Service

I have tried to create an Ubuntu Upstart Service to Metabase, but I'm having trouble addressing the following points: 1) Set up database environment variables (port, ip and…
calebeaires
  • 1,972
  • 1
  • 22
  • 34
2
votes
3 answers

how to start an application as soon as x starts up in ubuntu?

I want to run a GUI application as soon as x starts up in Ubuntu. I thought upstart might work, so I created a conf file inside /etc/init/ but it seems that it's not working correctly. myjob.conf start on startup task exec…
camino
  • 10,085
  • 20
  • 64
  • 115
2
votes
1 answer

Upstart causes kernel panic on embedded Linux

I am using ptxdist to create kernel and rootfs images for a Linux embedded system, running on an ARM Cortex A8 CPU. I was trying to use a newer compiler (GCC 5+) and so was forced to upgrade several external packages that would not compile under the…
Andy Thomas
  • 1,219
  • 3
  • 19
  • 33
2
votes
2 answers

Airflow upstart script enters stop/waiting state immediately after start/running state

I'm trying to run this upstart script from the official repo for airflow: https://github.com/apache/incubator-airflow/blob/master/scripts/upstart/airflow-webserver.conf start on started networking stop on (deconfiguring-networking or runlevel…
m0meni
  • 16,006
  • 16
  • 82
  • 141
2
votes
0 answers

redis-server getting stuck when using daemonize no on ubuntu

I'm using this link to configure redis with upstart: https://gist.github.com/bdotdub/714533 I have set: daemonize no in redis.conf that's being used to start the server. Here's my redis upstart script: description "redis server" start on runlevel…
Ankit
  • 3,878
  • 5
  • 35
  • 51