FreeBSD Bugzilla – Attachment 160433 Details for
Bug 202707
sysutils/runit: runsv searches in the wrong directory
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
runit /service to /var/service fixup
runit.patch (text/plain), 4.17 KB, created by
Sean Chittenden
on 2015-08-28 07:43:13 UTC
(
hide
)
Description:
runit /service to /var/service fixup
Filename:
MIME Type:
Creator:
Sean Chittenden
Created:
2015-08-28 07:43:13 UTC
Size:
4.17 KB
patch
obsolete
>Index: sysutils/runit/files/patch-man-runsv.8 >=================================================================== >--- sysutils/runit/files/patch-man-runsv.8 (revision 0) >+++ sysutils/runit/files/patch-man-runsv.8 (working copy) >@@ -0,0 +1,14 @@ >+--- ./runit-2.1.2/man/runsv.8.orig 2015-08-28 05:43:14.793917697 +0000 >++++ ./man/runsv.8 2015-08-28 04:03:34.733427031 +0000 >+@@ -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 > >Property changes on: sysutils/runit/files/patch-man-runsv.8 >___________________________________________________________________ >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Index: sysutils/runit/files/patch-man-runsvchdir.8 >=================================================================== >--- sysutils/runit/files/patch-man-runsvchdir.8 (revision 0) >+++ sysutils/runit/files/patch-man-runsvchdir.8 (working copy) >@@ -0,0 +1,18 @@ >+--- ./runit-2.1.2/man/runsvchdir.8.orig 2015-08-28 04:03:58.434050504 +0000 >++++ ./man/runsvchdir.8 2015-08-28 04:04:14.984050193 +0000 >+@@ -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. > >Property changes on: sysutils/runit/files/patch-man-runsvchdir.8 >___________________________________________________________________ >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Index: sysutils/runit/files/patch-man-sv.8 >=================================================================== >--- sysutils/runit/files/patch-man-sv.8 (revision 0) >+++ sysutils/runit/files/patch-man-sv.8 (working copy) >@@ -0,0 +1,20 @@ >+--- ./runit-2.1.2/man/sv.8.orig 2015-08-28 04:06:37.273421861 +0000 >++++ ./man/sv.8 2015-08-28 04:06:47.614046559 +0000 >+@@ -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 > >Property changes on: sysutils/runit/files/patch-man-sv.8 >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: sysutils/runit/files/patch-src-sv.c >=================================================================== >--- sysutils/runit/files/patch-src-sv.c (revision 0) >+++ sysutils/runit/files/patch-src-sv.c (working copy) >@@ -0,0 +1,11 @@ >+--- ./runit-2.1.2/src/sv.c.orig 2015-08-28 04:05:58.754047650 +0000 >++++ ./src/sv.c 2015-08-28 04:06:06.184047852 +0000 >+@@ -32,7 +32,7 @@ >+ char *progname; >+ char *action; >+ char *acts; >+-char *varservice ="/service/"; >++char *varservice ="/var/service/"; >+ char **service; >+ char **servicex; >+ unsigned int services; > >Property changes on: sysutils/runit/files/patch-src-sv.c >___________________________________________________________________ >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 202707
: 160433