RUNIT - created first service directory, "sv start testrun" does not work
- by Veseliq
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 /root/FP/annotate-output python /root/FP/test.py | logger -t svtest
3) If I call directly /etc/sv/testrun/run it executes successfully
4) I run sv start testrun (or sv run testrun, sv restart testrun), all of them end up with the same error msg:
fail: sv: unable to change to service directory: file does not exist
Any ideas what am I doing wrong? I'm new to runit and base all my actions on the information found here:
http://smarden.org/runit/