=== modified file 'etc/init.d/zsv-logger' --- etc/init.d/zsv-logger 2014-06-29 17:19:42 +0000 +++ etc/init.d/zsv-logger 2014-06-29 17:15:01 +0000 @@ -13,7 +13,11 @@ start() { ebegin "starting $ZSV_LOGGER via runit" - zsh -l -c "zsvgen -f '$ZSV_LOGGER'" + if ! which zsvgen >/dev/null 2&>1; then + einfo "zsvgen not found, sourcing /etc/profile manually" + . /etc/profile + fi + zsvgen -f $ZSV_LOGGER ewaitfile 10 /run/service/$ZSV_LOGGER/supervise/control sv check /run/service/$ZSV_LOGGER eend $? === modified file 'etc/init.d/zsv-wait' --- etc/init.d/zsv-wait 2014-06-29 17:19:42 +0000 +++ etc/init.d/zsv-wait 2014-06-29 17:15:01 +0000 @@ -11,7 +11,11 @@ start() { ebegin starting runit services - zsh -l -c "tailwhile '$ZSV_LOGFILE' zsvwait" + if ! which zsvgen >/dev/null 2&>1; then + einfo "zsvgen not found, sourcing /etc/profile manually" + . /etc/profile + fi + tailwhile $ZSV_LOGFILE zsvwait eend $? }