summaryrefslogtreecommitdiff
path: root/src/include-local/initctl.h
diff options
context:
space:
mode:
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