mirror of
https://github.com/troglobit/finit.git
synced 2026-10-01 13:33:09 +07:00
The tmpfilesd() glob sorts files according to name, we could name our
.conf as 00finit.conf to prevent ordering issues with, e.g. dnsmasq,
but this is more elegant and allows for multi-level override.
NOTE: bootmisc depends on the pidfile plugins since the latter need
to set up its iwatches of /run before bootmisc creates /run.
Depending on if it's a system with /var/run or /run we need to
drop /var/run before recreating it.
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
15 lines
456 B
Plaintext
15 lines
456 B
Plaintext
# Finit expects to run on a Linux FHS compatible system.
|
|
# Preferably one where /run is used and is a RAM disk.
|
|
|
|
# This should be set up but OS/dist but is sometimes missing
|
|
# Note: l+ == only if ../run exists, if so, rm -rf /var/run
|
|
l+ /var/run - - - - ../run
|
|
|
|
# Finit directories
|
|
d /run/finit 0755 - - -
|
|
d /run/finit/cond 0755 - - -
|
|
d /run/finit/cond/pid 0755 - - -
|
|
d /run/finit/cond/sys 0755 - - -
|
|
d /run/finit/cond/usr 0755 - - -
|
|
|