Fri, 14 May 2010

Debian - runsv after upgrade changes SVDIR to /etc/service from /var/service

Debian - runsv after upgrade changes SVDIR to /etc/service from /var/service, which results in:
# sv -v d dsnscan4
fail: dsnscan4: runsv not running
to fix - stop all runing sv's:
# SVDIR=/var/service sv -v d dsnscan4
ok: down: dsnscan4: 1s, normally up

# SVDIR=/var/service sv -v d prom
ok: down: prom: 1s, normally up

and kill old runsv:
killall runsv-dir
killall runsv
and start new runsv ( all services will be up, because those 'sv d $service' are stored in different dir )
[/Tips] permanent link
May 2010
Sun Mon Tue Wed Thu Fri Sat