summaryrefslogtreecommitdiffstats
path: root/libexec/fence/functions/start
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/fence/functions/start')
-rwxr-xr-xlibexec/fence/functions/start8
1 files changed, 8 insertions, 0 deletions
diff --git a/libexec/fence/functions/start b/libexec/fence/functions/start
new file mode 100755
index 0000000..b71cd1b
--- /dev/null
+++ b/libexec/fence/functions/start
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+set -e
+
+NAME="${@}"
+
+sudo cnt start -n ${NAME} 2> /dev/null
+exit $?