summaryrefslogtreecommitdiff
path: root/examples/s6-rc/sutmp-prepare
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-11-20 14:51:36 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-11-20 14:51:36 +0000
commit4ba5ae5776c2e9ba4f297115c19923a928cf3e87 (patch)
tree5a67f39a64dc5df84fc20307aa95d7536890b8b5 /examples/s6-rc/sutmp-prepare
downloadutmps-4ba5ae5776c2e9ba4f297115c19923a928cf3e87.tar.xz
Initial release / rename to utmps
Diffstat (limited to 'examples/s6-rc/sutmp-prepare')
-rw-r--r--examples/s6-rc/sutmp-prepare/dependencies1
-rw-r--r--examples/s6-rc/sutmp-prepare/down1
-rw-r--r--examples/s6-rc/sutmp-prepare/type1
-rw-r--r--examples/s6-rc/sutmp-prepare/up2
4 files changed, 5 insertions, 0 deletions
diff --git a/examples/s6-rc/sutmp-prepare/dependencies b/examples/s6-rc/sutmp-prepare/dependencies
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/examples/s6-rc/sutmp-prepare/dependencies
@@ -0,0 +1 @@
+
diff --git a/examples/s6-rc/sutmp-prepare/down b/examples/s6-rc/sutmp-prepare/down
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/examples/s6-rc/sutmp-prepare/down
@@ -0,0 +1 @@
+
diff --git a/examples/s6-rc/sutmp-prepare/type b/examples/s6-rc/sutmp-prepare/type
new file mode 100644
index 0000000..bdd22a1
--- /dev/null
+++ b/examples/s6-rc/sutmp-prepare/type
@@ -0,0 +1 @@
+oneshot
diff --git a/examples/s6-rc/sutmp-prepare/up b/examples/s6-rc/sutmp-prepare/up
new file mode 100644
index 0000000..6091aad
--- /dev/null
+++ b/examples/s6-rc/sutmp-prepare/up
@@ -0,0 +1,2 @@
+foreground { mkdir -p -m 0755 /run/utmps }
+chown utmp:utmp /run/utmps