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
20 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
0answers
7 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
1answer
141 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
38 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?
1
vote
2answers
1k 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
470 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
469 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 ...
3
votes
2answers
702 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 ...
1
vote
1answer
1k 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 ...
1
vote
0answers
92 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 ...