From c48e67e0220006f57c5b515bdb5b1217ba82f572 Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Wed, 11 Dec 2024 02:00:52 -0500 Subject: [PATCH] openrc: Add untested init script --- openrc/stepd | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 openrc/stepd diff --git a/openrc/stepd b/openrc/stepd new file mode 100644 index 0000000..959a72c --- /dev/null +++ b/openrc/stepd @@ -0,0 +1,10 @@ +#!/sbin/openrc-run +name="STEP" +description="An HTTP server that automaticaly executes STEP files" +pidfile="/run/${RC_SVCNAME}.pid" +command="/usr/local/bin/stepd" +command_args="--pid-file ${pidfile} --user step:step" + +depend() { + need net +}