mirror of
https://github.com/xHyroM/void-packages.git
synced 2024-12-22 20:21:05 +01:00
build: sync with upstream 2024-08-03 https://github.com/void-linux/void-packages/commit/e1c62c97
This commit is contained in:
parent
d315478d47
commit
928eb5ae24
1 changed files with 4 additions and 7 deletions
|
@ -38,13 +38,10 @@ _vsv() {
|
|||
|
||||
vmkdir etc/sv
|
||||
vcopy "${FILESDIR}/$service" etc/sv
|
||||
if [ ! -L "$svdir/run" ]; then
|
||||
grep -Fq 'exec 2>&1' "$svdir/run" || msg_warn "$pkgver: vsv: service '$service' does not contain 'exec 2>&1' to log stderr\n"
|
||||
chmod 755 "$svdir/run"
|
||||
fi
|
||||
if [ -e "$svdir/finish" ] && [ ! -L "$svdir/finish" ]; then
|
||||
chmod 755 "$svdir/finish"
|
||||
fi
|
||||
grep -Fq 'exec 2>&1' "$svdir/run" || msg_warn "$pkgver: vsv: service '$service' does not contain 'exec 2>&1' to log stderr\n"
|
||||
for f in run finish check control/{a,c,d,h,i,k,p,q,t,u,x,1,2}; do
|
||||
[ -e "$svdir/$f" ] && [ ! -L "$svdir/$f" ] && chmod 755 "$svdir/$f"
|
||||
done
|
||||
ln ${LN_OPTS} "/run/runit/supervise.${service}" "$svdir/supervise"
|
||||
if [ -d "$svdir/log" ] || [ -L "$svdir/log" ]; then
|
||||
msg_warn "$pkgver: vsv: overriding default log service\n"
|
||||
|
|
Loading…
Reference in a new issue