1
0
Fork 0
mirror of https://github.com/pygos/init-scripts.git synced 2024-06-22 03:40:12 +02:00
init-scripts/services/tmpfsvar.in

17 lines
330 B
Plaintext
Raw Normal View History

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
}