]> git.sev.monster Git - aports.git/blobdiff - testing/uptime-kuma/uptime-kuma.initd
testing/web2ldap: fix openrc, add host/port vars
[aports.git] / testing / uptime-kuma / uptime-kuma.initd
index ad63c7d822ab7c54bafe9a6626ca5d300b32dfe3..69452425e368bc8931dc14fdc31e73ea42e0d0ae 100644 (file)
@@ -5,7 +5,7 @@ description="A free and open source uptime monitoring solution"
 
 : ${DATA_DIR:=/var/lib/$name/}
 export DATA_DIR UPTIME_KUMA_HOST UPTIME_KUMA_PORT UPTIME_KUMA_SSL_KEY \
 
 : ${DATA_DIR:=/var/lib/$name/}
 export DATA_DIR UPTIME_KUMA_HOST UPTIME_KUMA_PORT UPTIME_KUMA_SSL_KEY \
-       UPTIME_KUMA_SSL_CERT UPTIME_KUMA_CLOUDFLARED_TOKEN \
+       UPTIME_KUMA_SSL_CERT UPTIME_KUMA_CLOUDFLARED_TOKEN \
        UPTIME_KUMA_DISABLE_FRAME_SAMEORIGIN NODE_EXTRA_CA_CERTS \
        NODE_TLS_REJECT_UNAUTHORIZED NODE_OPTIONS
 
        UPTIME_KUMA_DISABLE_FRAME_SAMEORIGIN NODE_EXTRA_CA_CERTS \
        NODE_TLS_REJECT_UNAUTHORIZED NODE_OPTIONS
 
@@ -13,7 +13,7 @@ directory="/usr/share/$RC_SVCNAME"
 : ${pidfile:="/run/$RC_SVCNAME.pid"}
 command="/usr/bin/node"
 command_args="server/server.js $command_args"
 : ${pidfile:="/run/$RC_SVCNAME.pid"}
 command="/usr/bin/node"
 command_args="server/server.js $command_args"
-: ${command_user:="$RC_SVCNAME:$RC_SVCNAME"}
+: ${command_user:="$name:$name"}
 command_background="yes"
 output_log="/var/log/$RC_SVCNAME.log"
 error_log="$output_log"
 command_background="yes"
 output_log="/var/log/$RC_SVCNAME.log"
 error_log="$output_log"
This page took 0.040004 seconds and 4 git commands to generate.