upstart Questions
1
Solved
I have successfully used capistrano to deploy my rails app to Ubuntu EC2. Everything works great on deploy. Rails app name is deseov12
My issue is that Puma does not start on boot which will be nec...
Sextodecimo asked 7/1, 2016 at 3:39
1
Summary
How can I combine multiple checks in Monit? I want to check against process activity and file content/timestamp.
Long and boring explanation
I'm working on a Monit daemon for keeping m...
3
Solved
I am using upstart to create a daemon for a spawned nginx python fastcgi script. If I use the below it works:
sudo start myserver
What does not work is:
sudo stop myserver
stop: Unknown instanc...
1
After searching around, I'm still confused whether you can have a docker container running Ubuntu with a working init system (upstart) and syslog, or not.
I know docker containers are meant for ru...
1
Solved
I am using upstart script to do start kafka and zookeeper. My steps are:
(1)The following is kafka-zk.conf (Put it in /etc/init/):
kill timeout 300
start on runlevel [2345]
stop on runlevel [06]
...
Zarf asked 17/8, 2015 at 14:34
1
Solved
TLDR; Is it possible to create a cron job that runs service
service_name start? How?
Content of my
sudo crontab -e
is:
45 23 * * * service bormarise_celery_daemon start
This runs normall...
1
I am trying to do a syntax check on an upstart script using init-checkconf. However when I run it, it returns ERROR: version of /sbin/initctl too old.
I have no idea what to do, I have tried reins...
Aggravate asked 19/2, 2015 at 0:44
2
I have a UpStart service job that has many (~100) instance that need to be started. Each of them is a resource-heavy process that does a lot of disk reading/writing during startup. When all of them...
1
Solved
EDIT
status marybaked yields
marybaked stop/waiting
Here is the output of /var/log/syslog :
May 3 16:24:39 marybakedpdx kernel: [ 3464.189563] init: Failed to spawn marybakedpdx main process: un...
5
I have a local docker-registry that I'd like to manage with upstart.
I have the following script (in /etc/init/docker-registry.conf):
description "docker registry"
author "me" ...
2
I'm trying to launch a system in docker that has many init and upstart services and I get this error.
initctl: Unable to connect to Upstart:
Failed to connect to socket /com/ubuntu/upstart: Connec...
2
This command is part of an upstart script, which used to work in ubuntu 12.04, 10.04.
sudo start-stop-daemon --start --make-pidfile --pidfile /var/run/mk_order_handler.pid --chuid ubuntu --exec ...
Spoliation asked 7/8, 2014 at 8:3
1
Solved
I've got an Upstart task that starts multiple instances of a service based on Starting multiple upstart instances automatically and Restarting Upstart instance processes. It's working and it starts...
1
Solved
I created a uwsgi file following this tutorial https://uwsgi.readthedocs.org/en/latest/Upstart.html on amazon linux. Though It doesn't seem to run as Nginx just says bad gateway. If I run the
/et...
Stomacher asked 28/11, 2014 at 22:39
1
Solved
I have an upstart script (say, /etc/init/dtest.conf)
start on runlevel [2345]
stop on runlevel [!2345]
respawn
script
DID=$(docker.io run -d ubuntu /bin/bash -c "echo Starting;sleep 20;echo Stopp...
2
Solved
I'm having trouble starting an Upstart script.
Here's the script (app.conf in /etc/init/)
description "node.js server"
author "kvz"
start on startup
stop on shutdown
script
# We found $HOME is...
2
Solved
Situation
I have a daemon I wrote in PHP (not the best language for this, but work with me), and it is made to receive jobs from a queue and process them whenever a job needs to be done. For each n...
Takahashi asked 17/1, 2014 at 5:33
1
Solved
Using puma on a rails app; it sometimes dies without any articular reason; also often dies (does not restart after being stopped) when deployed
What would be a good way to monitor if the process d...
Whew asked 26/5, 2014 at 10:11
3
When using upstart on ubuntu how do I issue a command for starting a job if not running and restarting if already running. When deploying an app to a new node the job is not defined.
initctl resta...
Myelitis asked 28/2, 2012 at 9:47
1
I am trying to configure uWSGI with Upstart.
I created the file /etc/init/uwsgi-flask.conf:
description "uwsgi for flask"
start on runlevel [2345]
stop on runlevel [06]
exec /appdir/virtualenvdir...
3
Solved
Except doing explicit logging instructions like suggested in http://upstart.ubuntu.com/wiki/Debugging, is there a way to enable output of what is happening with upstart?
What event is raised
What...
Sula asked 2/12, 2010 at 13:10
1
Solved
I would like run my bash script (kvm_manage) in startup, and it doesnt work. Here is my upstart .conf script:
description "kvm start skript"
start on local-filesystem
stop on shutdown
respaw...
1
Solved
This is on an Ubuntu 12.04.3 LTS server.
I've added the following to /etc/security/limits.conf (my Golang processes run as root):
* hard nofile 50000
* soft nofile 50000
root hard nofile 50000
ro...
Idiopathy asked 15/11, 2013 at 7:37
1
Solved
I have a Gradle app that I startup using ./gradlew run. This works fine, but I'm trying to deploy to an AWS instance (Ubuntu 12) and I would like the script to execute on boot. I tried writing a st...
6
Solved
the standard upstart script that comes with mongodb works fine:
# Ubuntu upstart file at /etc/init/mongodb.conf
limit nofile 20000 20000
kill timeout 300 # wait 300s between SIGTERM and SIGKILL....
© 2022 - 2024 — McMap. All rights reserved.