aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/procd/files
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2020-07-10 18:52:28 +0100
committerDaniel Golle <daniel@makrotopia.org>2020-07-10 18:57:05 +0100
commitb6e440a0f560330187f87d25d193c9f92baa777a (patch)
tree7460057d75644e46b9c08bcf7161dd4f459f2edb /package/system/procd/files
parent727685c317c4e59e5ac170acdf61af12afbc4b70 (diff)
downloadupstream-b6e440a0f560330187f87d25d193c9f92baa777a.tar.gz
upstream-b6e440a0f560330187f87d25d193c9f92baa777a.tar.bz2
upstream-b6e440a0f560330187f87d25d193c9f92baa777a.zip
procd: update to git HEAD
ea7a790 jail: add support for running OCI bundle bb4a446 uxc: add container management CLI tool Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'package/system/procd/files')
-rw-r--r--package/system/procd/files/uxc.init18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/system/procd/files/uxc.init b/package/system/procd/files/uxc.init
new file mode 100644
index 0000000000..035c8b0b9e
--- /dev/null
+++ b/package/system/procd/files/uxc.init
@@ -0,0 +1,18 @@
+#!/bin/sh /etc/rc.common
+
+START=99
+USE_PROCD=1
+NAME=uxc
+PROG=/sbin/uxc
+
+start_service() {
+ [ "${__BOOT_UXC}" = "1" ] || return 0
+ procd_open_instance "uxc"
+ procd_set_param command "$PROG" boot
+ procd_close_instance
+}
+
+boot() {
+ __BOOT_UXC=1
+ start
+}