aboutsummaryrefslogtreecommitdiff
path: root/src/librc/rc.h.in
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2015-12-01 18:20:02 -0600
committerWilliam Hubbs <w.d.hubbs@gmail.com>2015-12-02 10:20:15 -0600
commit9fedb3b40b5983372b2c2de29dfe321c6dfaadf4 (patch)
tree70ea1b9d57ab7abc3ade81e7639cd05de111141d /src/librc/rc.h.in
parent635e33cdc8f18bb290756633ce0714c496383cfb (diff)
Add detection for docker containers
Diffstat (limited to 'src/librc/rc.h.in')
-rw-r--r--src/librc/rc.h.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librc/rc.h.in b/src/librc/rc.h.in
index 141ecb97..360c26a1 100644
--- a/src/librc/rc.h.in
+++ b/src/librc/rc.h.in
@@ -329,6 +329,7 @@ bool rc_service_daemons_crashed(const char *);
/*! @name System types
* OpenRC can support some special sub system types, normally virtualization.
* Some services cannot work in these systems, or we do something else. */
+#define RC_SYS_DOCKER "DOCKER"
#define RC_SYS_JAIL "JAIL"
#define RC_SYS_OPENVZ "OPENVZ"
#define RC_SYS_LXC "LXC"