mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
runit: Fix default service path in man pages
Also fixes xlint errors
This commit is contained in:
parent
2afd6ad7fd
commit
07ad5c8865
2 changed files with 68 additions and 3 deletions
65
srcpkgs/runit/patches/default_svdir.patch
Normal file
65
srcpkgs/runit/patches/default_svdir.patch
Normal file
|
@ -0,0 +1,65 @@
|
||||||
|
Fix default service path in man pages
|
||||||
|
|
||||||
|
--- runit-2.1.2/man/sv.8
|
||||||
|
+++ runit-2.1.2/man/sv.8
|
||||||
|
@@ -30,7 +30,7 @@
|
||||||
|
.I service
|
||||||
|
doesn't start with a dot or slash and doesn't end with a slash, it is
|
||||||
|
searched in the default services directory
|
||||||
|
-.IR /service/ ,
|
||||||
|
+.IR /var/service/ ,
|
||||||
|
otherwise relative to the current directory.
|
||||||
|
.P
|
||||||
|
.I command
|
||||||
|
@@ -232,7 +232,7 @@
|
||||||
|
.TP
|
||||||
|
.B SVDIR
|
||||||
|
The environment variable $SVDIR overrides the default services directory
|
||||||
|
-.IR /service/ .
|
||||||
|
+.IR /var/service/ .
|
||||||
|
.TP
|
||||||
|
.B SVWAIT
|
||||||
|
The environment variable $SVWAIT overrides the default 7 seconds to wait
|
||||||
|
--- runit-2.1.2/man/runsvchdir.8
|
||||||
|
+++ runit-2.1.2/man/runsvchdir.8
|
||||||
|
@@ -27,13 +27,13 @@
|
||||||
|
.IR dir .
|
||||||
|
.P
|
||||||
|
Normally
|
||||||
|
-.I /service
|
||||||
|
+.I /var/service
|
||||||
|
is a symlink to
|
||||||
|
.IR current ,
|
||||||
|
and
|
||||||
|
.BR runsvdir (8)
|
||||||
|
is running
|
||||||
|
-.IR /service/ .
|
||||||
|
+.IR /var/service/ .
|
||||||
|
.SH EXIT CODES
|
||||||
|
.B runsvchdir
|
||||||
|
prints an error message and exits 111 on error.
|
||||||
|
--- runit-2.1.2/man/utmpset.8
|
||||||
|
+++ runit-2.1.2/man/utmpset.8
|
||||||
|
@@ -34,7 +34,7 @@
|
||||||
|
.I finish
|
||||||
|
scripts, e.g.:
|
||||||
|
.P
|
||||||
|
- $ cat /service/getty-5/finish
|
||||||
|
+ $ cat /var/service/getty-5/finish
|
||||||
|
#!/bin/sh
|
||||||
|
exec utmpset \-w tty5
|
||||||
|
$
|
||||||
|
--- runit-2.1.2/man/runsv.8
|
||||||
|
+++ runit-2.1.2/man/runsv.8
|
||||||
|
@@ -157,9 +157,9 @@
|
||||||
|
.IR service /log/supervise/control.
|
||||||
|
.P
|
||||||
|
Example: to send a TERM signal to the socklog-unix service, either do
|
||||||
|
- # sv term /service/socklog-unix
|
||||||
|
+ # sv term /var/service/socklog-unix
|
||||||
|
or
|
||||||
|
- # printf t >/service/socklog-unix/supervise/control
|
||||||
|
+ # printf t >/var/service/socklog-unix/supervise/control
|
||||||
|
.P
|
||||||
|
.BR printf (1)
|
||||||
|
usually blocks if no
|
|
@ -1,11 +1,11 @@
|
||||||
# Template file for 'runit'
|
# Template file for 'runit'
|
||||||
pkgname=runit
|
pkgname=runit
|
||||||
version=2.1.2
|
version=2.1.2
|
||||||
revision=11
|
revision=12
|
||||||
build_style="gnu-makefile"
|
|
||||||
wrksrc="admin"
|
wrksrc="admin"
|
||||||
build_wrksrc="${pkgname}-${version}/src"
|
build_wrksrc="${pkgname}-${version}/src"
|
||||||
short_desc="A UNIX init scheme with service supervision"
|
build_style="gnu-makefile"
|
||||||
|
short_desc="UNIX init scheme with service supervision"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="BSD-3-Clause"
|
license="BSD-3-Clause"
|
||||||
homepage="http://smarden.org/runit/"
|
homepage="http://smarden.org/runit/"
|
||||||
|
|
Loading…
Add table
Reference in a new issue