1
0
Fork 0
mirror of https://github.com/pygos/init.git synced 2024-11-22 19:19:47 +01:00
init/services/tmpfsvar.in
David Oberhollenzer d0764e77b2 Add pygos specific overlay fs setup
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-04-07 01:33:58 +02:00

10 lines
310 B
Text

description "mount /var"
type wait
target boot
before vfs
exec "@SBINPATH@/mount" -t tmpfs none /var
exec "@BINPATH@/mkdir" /var/log -m 0755
exec "@BINPATH@/mkdir" /var/spool -m 0755
exec "@BINPATH@/mkdir" /var/lib -m 0755
exec "@BINPATH@/mkdir" /var/tmp -m 0755
exec "@SCRIPTDIR@/overlay.sh" var_lib /var/lib