summaryrefslogtreecommitdiff
path: root/src/include-local/initctl.h
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2019-03-02 09:41:24 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2019-03-02 09:41:24 +0000
commit23fba266a9454ee6ca095b7f6eccf523f6526607 (patch)
tree7350fdaba49b1529a13d50f6396aea35f340954d /src/include-local/initctl.h
parent54d0dc0990f13a86680fa55c623f0570853749ac (diff)
downloads6-linux-init-23fba266a9454ee6ca095b7f6eccf523f6526607.tar.xz
Save pending changes in 1.0.0.0 branch
Diffstat (limited to 'src/include-local/initctl.h')
-rw-r--r--src/include-local/initctl.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/include-local/initctl.h b/src/include-local/initctl.h
new file mode 100644
index 0000000..4102640
--- /dev/null
+++ b/src/include-local/initctl.h
@@ -0,0 +1,32 @@
+/* ISC license. */
+
+#ifndef S6_LINUX_INIT_INITCTL_H
+#define S6_LINUX_INIT_INITCTL_H
+
+#include <s6-linux-init/config.h>
+
+#define SCANDIR "service"
+
+#define SHUTDOWND_SERVICEDIR "s6-linux-init-shutdownd"
+#define SHUTDOWND_FIFO "fifo"
+#define INITCTL S6_LINUX_INIT_TMPFS "/" SCANDIR "/" SHUTDOWND_SERVICEDIR "/" SHUTDOWND_FIFO
+
+#define LOGOUTHOOKD_SERVICEDIR "s6-linux-init-logouthookd"
+#define LOGOUTHOOKD_SOCKET "s"
+#define LOGOUTHOOKD_PATH S6_LINUX_INIT_TMPFS "/" SCANDIR "/" LOGOUTHOOKD_SERVICEDIR "/" LOGOUTHOOKD_SOCKET
+
+#define LOGGER_SERVICEDIR "s6-svscan-log"
+#define LOGGER_FIFO "fifo"
+#define LOGFIFO S6_LINUX_INIT_TMPFS "/" SCANDIR "/" LOGGER_SERVICEDIR "/" LOGGER_FIFO
+
+#define EARLYGETTY_SERVICEDIR "s6-linux-init-early-getty"
+#define EARLYGETTY S6_LINUX_INIT_TMPFS "/" SCANDIR "/" EARLYGETTY_SERVICEDIR
+
+#define RUNIMAGE "run-image"
+#define ENVSTAGE1 "env-global"
+#define ENVSTAGE2 "env-stage2"
+#define STAGE2 "stage2"
+#define STAGE3 "stage3"
+#define STAGE4 "stage4"
+
+#endif