| Server IP : 82.208.35.60 / Your IP : 216.73.216.168 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/sysutils/runit/files/ |
Upload File : |
runit is designed to be placed in /sbin. However, there is no reason that
PREFIX cannot be respected here, so should a user define in loader.conf this
in place, then it will still be found.
init_path=/usr/local/sbin/runit-init:/sbin/init
--- src/runit-init.c.orig 2016-08-10 20:53:15 UTC
+++ src/runit-init.c
@@ -53,6 +53,9 @@ int main (int argc, const char * const *
/* kernel is starting init, runit does the job. */
execve(RUNIT, (char *const *)prog, envp);
+ /* OK, running from PREFIX-- should be default */
+ execve(PREFIX RUNIT, (char *const *)prog, envp);
+
/* serious error */
strerr_die4sys(111, FATAL, "unable to start ", prog[0], ": ");
}