esystemd is a meta build package that is meant for building standalone versions of tmpfiles and sysusers. It also contains their runtime configuration. Signed-off-by: Aster Boese <asterboese@mailbox.org> Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9103>
16 lines
312 B
Plaintext
16 lines
312 B
Plaintext
#!/sbin/openrc-run
|
|
|
|
descriptions="Create temporary files and directories"
|
|
|
|
depend() {
|
|
need localmount
|
|
}
|
|
|
|
start() {
|
|
if [ -x /usr/lib/tmpfiles.d ]; then
|
|
ebegin "Creating temporary files and directories from tmpfiles.d"
|
|
/usr/bin/systemd-tmpfiles --create --remove --boot --exclude-prefix=/dev
|
|
eend $?
|
|
fi
|
|
}
|