aboutsummaryrefslogtreecommitdiff
path: root/services/tmpfsvar.in
blob: 2c3c808f5dee001c3be36e228008e061ec39a617 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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
}