I was getting:
λ SVDIR=~/service sv status emacsd
down: emacsd: 100s, normally up; warning: emacsd/log: unable to open supervise/ok: file does not exist
down: log: 100s, normally up
After a bit of digging, I found this answer, which fixed it. The issue is that if you add the appended log service after the service was symlinked, runit doesn't fail gracefully. The steps to fix are:
- Remove the symlink for the service
- Remove the
supervise
directories - Add the symlink again for the service. This will recreate the
supervise
folders.