xbps-src: vsv: take into account log service too.
This commit is contained in:
parent
4a2dac74e7
commit
d4025450ae
1 changed files with 4 additions and 0 deletions
|
@ -32,6 +32,10 @@ _vsv() {
|
||||||
chmod +x ${PKGDESTDIR}/etc/sv/${service}/finish
|
chmod +x ${PKGDESTDIR}/etc/sv/${service}/finish
|
||||||
fi
|
fi
|
||||||
ln -s /run/runit/supervise.${service} ${PKGDESTDIR}/etc/sv/${service}/supervise
|
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() {
|
_vbin() {
|
||||||
|
|
Loading…
Reference in a new issue