aboutsummaryrefslogtreecommitdiffstats
path: root/main/lxc/lxc.confd
diff options
context:
space:
mode:
authorStuart Cardall <developer@it-offshore.co.uk>2017-11-13 01:41:04 +0000
committerJakub Jirutka <jakub@jirutka.cz>2017-11-26 01:17:35 +0100
commit41dbf71a6f4eb9a2be1bca68f0270e97bd52b77f (patch)
tree7f15ca4de4b52249efffe0d58a69efc866679fae /main/lxc/lxc.confd
parentf55cfeb9c139bce7dcde2d1ecae902d9e7019ada (diff)
downloadaports-41dbf71a6f4eb9a2be1bca68f0270e97bd52b77f.tar.gz
aports-41dbf71a6f4eb9a2be1bca68f0270e97bd52b77f.tar.bz2
aports-41dbf71a6f4eb9a2be1bca68f0270e97bd52b77f.tar.xz
main/lxc: fix running systemd based containers under OpenRC
* systemd based containers require the /sys/fs/cgroup/systemd cgroup for lxc-console and services inside the containers to work * systemd_ctr() based on recommendations from lxc: https://github.com/lxc/lxc/issues/1704#issuecomment-330935480 Committer note: I did few minor modifications.
Diffstat (limited to 'main/lxc/lxc.confd')
-rw-r--r--main/lxc/lxc.confd7
1 files changed, 7 insertions, 0 deletions
diff --git a/main/lxc/lxc.confd b/main/lxc/lxc.confd
new file mode 100644
index 0000000000..7db541dc93
--- /dev/null
+++ b/main/lxc/lxc.confd
@@ -0,0 +1,7 @@
+# Configuration for /etc/init.d/lxc[.*]
+
+# Enable cgroup for systemd-based containers.
+#systemd_container=no
+
+# autostart groups (comma separated)
+#lxc_group="onboot"