summaryrefslogtreecommitdiff
path: root/examples/s6-rc/utmps-prepare
diff options
context:
space:
mode:
Diffstat (limited to 'examples/s6-rc/utmps-prepare')
-rw-r--r--examples/s6-rc/utmps-prepare/dependencies1
-rw-r--r--examples/s6-rc/utmps-prepare/down1
-rw-r--r--examples/s6-rc/utmps-prepare/type1
-rw-r--r--examples/s6-rc/utmps-prepare/up2
4 files changed, 5 insertions, 0 deletions
diff --git a/examples/s6-rc/utmps-prepare/dependencies b/examples/s6-rc/utmps-prepare/dependencies
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/examples/s6-rc/utmps-prepare/dependencies
@@ -0,0 +1 @@
+
diff --git a/examples/s6-rc/utmps-prepare/down b/examples/s6-rc/utmps-prepare/down
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/examples/s6-rc/utmps-prepare/down
@@ -0,0 +1 @@
+
diff --git a/examples/s6-rc/utmps-prepare/type b/examples/s6-rc/utmps-prepare/type
new file mode 100644
index 0000000..bdd22a1
--- /dev/null
+++ b/examples/s6-rc/utmps-prepare/type
@@ -0,0 +1 @@
+oneshot
diff --git a/examples/s6-rc/utmps-prepare/up b/examples/s6-rc/utmps-prepare/up
new file mode 100644
index 0000000..6091aad
--- /dev/null
+++ b/examples/s6-rc/utmps-prepare/up
@@ -0,0 +1,2 @@
+foreground { mkdir -p -m 0755 /run/utmps }
+chown utmp:utmp /run/utmps