summaryrefslogtreecommitdiff
path: root/services/tmpfsrun
diff options
context:
space:
mode:
Diffstat (limited to 'services/tmpfsrun')
-rw-r--r--services/tmpfsrun11
1 files changed, 11 insertions, 0 deletions
diff --git a/services/tmpfsrun b/services/tmpfsrun
new file mode 100644
index 0000000..07dbd0a
--- /dev/null
+++ b/services/tmpfsrun
@@ -0,0 +1,11 @@
+description "mount /run"
+type wait
+target boot
+before vfs
+after tmpfsvar
+exec {
+ mount -t tmpfs none /run
+ mkdir /run/lock -m 0755
+ ln -s /run /var/run
+ ln -s /run/lock /var/lock
+}