aboutsummaryrefslogtreecommitdiff
path: root/services/tmpfsvar.in
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-04-06 22:18:02 +0200
committerDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-04-07 01:33:58 +0200
commitd0764e77b265bc1fc99456ddd3d3e3a088ef1f78 (patch)
treee8304056143d8fd49074ee9431eb1c722b21fc46 /services/tmpfsvar.in
parent4f4a377d7acb555193566db3ee459adc19e2e6a5 (diff)
Add pygos specific overlay fs setup
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
Diffstat (limited to 'services/tmpfsvar.in')
-rw-r--r--services/tmpfsvar.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/services/tmpfsvar.in b/services/tmpfsvar.in
new file mode 100644
index 0000000..7942286
--- /dev/null
+++ b/services/tmpfsvar.in
@@ -0,0 +1,10 @@
+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