openrc: Make the init script more basic

This commit is contained in:
Sasha Koshka 2024-12-12 01:10:57 -05:00
parent 77afd0dcd1
commit ebe4c80400

View File

@ -1,9 +1,11 @@
#!/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 --log-directory /var/log/step /srv/www-step"
pidfile="/run/${RC_SVCNAME}.pid"
command_background=true
command_user="step:step"
command_args="--log-directory /var/log/step /srv/www-step"
depend() {
need net