From 32715e11441d01ff106dae8ac90a78fabc8e4e63 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 15 Jan 2023 15:10:22 -0500 Subject: [PATCH] man: update path to internal runtime state Fixes #498. --- man/openrc.8 | 4 ++-- man/rc_deptree.3 | 2 +- man/rc_service.3 | 2 +- 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 ,