From d4025450ae6a6a3dbbe8ccfa8da9ee3348aa3e7b Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 13 Oct 2014 13:02:04 +0200 Subject: [PATCH] xbps-src: vsv: take into account log service too. --- common/environment/setup/install.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common/environment/setup/install.sh b/common/environment/setup/install.sh index 3a8ceefe1ca..9faa80e24e5 100644 --- a/common/environment/setup/install.sh +++ b/common/environment/setup/install.sh @@ -32,6 +32,10 @@ _vsv() { chmod +x ${PKGDESTDIR}/etc/sv/${service}/finish fi ln -s /run/runit/supervise.${service} ${PKGDESTDIR}/etc/sv/${service}/supervise + if [ -r ${PKGDESTDIR}/etc/sv/${service}/log/run ]; then + chmod +x ${PKGDESTDIR}/etc/sv/${service}/log/run + ln -s /run/runit/supervise.${service}-log ${PKGDESTDIR}/etc/sv/${service}/log/supervise + fi } _vbin() {