rename /run/service-state to /run/services/outputs

This commit is contained in:
Daniel Barlow
2024-02-13 21:41:43 +00:00
parent 8578a554c7
commit 3c950704e1
8 changed files with 43 additions and 8 deletions

View File

@@ -22,8 +22,15 @@ mount -t tmpfs none /tmp
mkdir /dev/pts
mount -t devpts none /dev/pts
mkdir -m 0751 /run/service-state
chgrp system /run/service-state
mkdir -m 0751 -p /run/services/outputs
chgrp system /run/services/outputs
if test -d /persist; then
mkdir -m 0751 -p /persist/services/state
(cd /run/services && ln -s ../../persist/services/state .)
else
mkdir -m 0751 -p /run/services/state
fi
### If your services are managed by s6-rc:
### (replace /run/service with your scandir)