I’ve been trying to setup user-services with runit as detailed in http://smarden.org/runit/faq.html#userservices. Unfortunately, when checking the status of
runsvdir-[username], it shows that it’s down, and trying to start it will fail with it hanging.
Here are the steps that I followed to attempt to get this working:
sudo mkdir -p /etc/sv/runsvdir-jerry
#!/bin/sh exec 2>&1 exec chpst -u jerry runsvdir /home/jerry/.service
sudo ln -s /etc/sv/runsvdir-jerry /var/service
As a side note, is there any way to get logs on how this might be failing?