aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2023-01-15 15:10:22 -0500
committerMike Frysinger <vapier@gentoo.org>2023-01-15 15:10:22 -0500
commit32715e11441d01ff106dae8ac90a78fabc8e4e63 (patch)
tree1590b8a6e9086ae373713c98f9ce746ebedf97e1
parentec04e087077c8e8c643fea94d0a16fbafde7badc (diff)
man: update path to internal runtime state
Fixes #498.
-rw-r--r--man/openrc.84
-rw-r--r--man/rc_deptree.32
-rw-r--r--man/rc_service.32
3 files changed, 4 insertions, 4 deletions
diff --git a/man/openrc.8 b/man/openrc.8
index 97a7ffdb..501cf732 100644
--- a/man/openrc.8
+++ b/man/openrc.8
@@ -37,11 +37,11 @@ Brings up any system specific stuff such as
and optionally
.Pa /sys
for Linux based systems. It also mounts
-.Pa /lib/rc/init.d
+.Pa /run/openrc
as a ramdisk using tmpfs where available unless / is mounted rw at boot.
.Nm
uses
-.Pa /lib/rc/init.d
+.Pa /run/openrc
to hold state information about the services it runs.
sysinit always runs when the host first starts should not be run again.
.It Ar boot
diff --git a/man/rc_deptree.3 b/man/rc_deptree.3
index 6e319ee3..f85f428c 100644
--- a/man/rc_deptree.3
+++ b/man/rc_deptree.3
@@ -47,7 +47,7 @@ services.
.Pp
.Fn rc_deptree_update
updates the service dependency tree, normally
-.Pa /lib/rc/init.d/deptree .
+.Pa /run/openrc/deptree .
.Fn rc_deptree_update_needed
checks to see if the dependency tree needs updated based on the mtime of it
compared to
diff --git a/man/rc_service.3 b/man/rc_service.3
index eb6da60a..dc5747d5 100644
--- a/man/rc_service.3
+++ b/man/rc_service.3
@@ -204,7 +204,7 @@ When a function fails it should either return false or NULL and set
.Va errno
unless specified otherwise as above.
.Sh FILES
-.Pa /lib/rc/init.d
+.Pa /run/openrc
normally holds the volatile state data for services on a RAM backed disk.
.Sh SEE ALSO
.Xr errno 3 ,