1
0
Fork 0
mirror of https://github.com/pygos/init-scripts.git synced 2024-05-18 19:56:14 +02:00
init-scripts/services/tmpfsvar.in
David Oberhollenzer 021fa43244 Initial commit
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-11-05 16:11:47 +01:00

17 lines
330 B
Plaintext

description "mount /var"
type wait
target boot
before vfs
exec {
mount -t tmpfs none /var
mkdir /var/log -m 0755
mkdir /var/spool -m 0755
mkdir /var/lib -m 0755
mkdir /var/tmp -m 0755
mkdir /var/nginx -m 0755
touch /var/log/lastlog
touch /var/log/faillog
touch /var/log/sulog
"@SCRIPTDIR@/overlay.sh" var_lib /var/lib
}