OSDN Git Service

Merge pull request #163 from mobinmob/keepalived
[avyssos/void-66-services.git] / usr / share / 66 / service / keepalived
diff --git a/usr/share/66/service/keepalived b/usr/share/66/service/keepalived
new file mode 100644 (file)
index 0000000..b298c99
--- /dev/null
@@ -0,0 +1,12 @@
+[main]
+@type = classic
+@version = 0.0.1
+@description = "keepalive daemon"
+@user = ( root )
+
+[start]
+@execute = ( execl-cmdline -s { keepalived -n ${cmd_args} } )
+
+[environment]
+# -l is for logging to console - using the per-service logger
+cmd_args=!-l