runit is a cross-platform Unix init scheme with service supervision, a replacement for sysvinit, and other init schemes.

learn more… | top users | synonyms

0
votes
1answer
55 views

How do I keep process running in the background, even after a machine reboot?

What is the way to keep some process running (web server, database and so on) in background, and be sure that in case of system reboot it will start immediately again? I'd like to have this feature ...
2
votes
2answers
67 views

How to control the rate of automatic restarts of a runit service?

I have this runit service with run and log/run scripts properly working. As it happens, the service itself can crash for external reasons and might not be able to start for many minutes. The default ...
1
vote
1answer
27 views

How do you configure runit logging

I am having trouble with setting service with proper logging using running. Here is a brief overview of files and scripts I created according to runit's documentation and other resources I found in ...
1
vote
1answer
103 views

runit does not kill process on sv stop or sv reload

i am running a headless selenium process along a jenkins server on an AMI linux box, all managed by runit. the problem is that issuing "sv stop selenium" or "sv reload selenium" do not term or kill ...
1
vote
2answers
143 views

Trying to log with runit only returns 'unable to open supervise/ok'

Installed runit in Debian 7.4 in a Vagrant. My run script is working, but the moment I create a service/pants/log/ directory I start getting the following error: unable to open supervise/ok. My ...
0
votes
1answer
14 views

searchd under runit continues writing to the runit's log

searchd (Sphinx) run file: #!/bin/sh set -e APP_PATH=/srv/application TARGET_USER=user exec chpst -u $TARGET_USER /usr/bin/searchd --pidfile --nodetach --config ...
0
votes
2answers
441 views

Java process restarting prematurely under runit

I'm attempting to run Logstash under supervision with runit. My run script for Logstash is simply #!/bin/sh SSL_CERT_DIR=/etc/ssl/certs exec /usr/bin/java -jar /usr/local/bin/logstash.jar agent -f ...
0
votes
1answer
50 views

warning: /service/railo-jetty: unable to open supervice/ok: file does not exist

I'm trying to start railo-jetty using supervisor and I'm getting an error: warning: /service/railo-jetty: unable to open supervice/ok: file does not exist What could be the issue?
3
votes
2answers
2k views

runit - unable to open supervise/ok: file does not exist

I'm trying to figure out why runit will not boot or give me the status for the managed applications. Running on Ubuntu 12.04. I created /service, /etc/sv/myapp (with a run script, a config file, a ...
1
vote
1answer
579 views

Using runit and monit to run / monitor services

I am configuring some services to run on Ubuntu server. I was going through the link below where they use runit to run the services and monit to monitor the services - ...
5
votes
1answer
598 views

What's the point of using runit in combination with monit?

I see a lot of people using monit in combination with runit. Isn't that redundant? What is the point of using runit as well? Is it because it's more reliable when dealing with services (as it doesn't ...
4
votes
2answers
974 views

How to write runit custom stop script

I want to have a custom "stop" script runit (runsv) to execute when having to stop/restart the process. Currently it simply kills the process, then runs the "finish" script. But in my case, my process ...
2
votes
2answers
2k views

RUNIT - created first service directory, “sv start testrun” does not work

I'm pretty new to runit. I installed it on a Ubuntu host. What I did: 1) created a dir testrun in /etc/sv 2) created a script run in /etc/sv/testrun/run, the script content: #! /bin/bash exec ...
2
votes
1answer
108 views

telling runit to pick up a new service immediately

As a happy user of runit - I am curious if it is possible to send a signal to the main process (or similar) telling it to look now at the service directory? the current behaviour is < 5 seconds ...