#!/sbin/openrc-run name="$SVCNAME" directory="{{ uptime_kuma_dir }}" command="node {{ uptime_kuma_dir }}/server/server.js" command_args="--host=127.0.0.1 --port={{ uptime_kuma_port }}" command_user="{{ uptime_kuma_user }}:{{ uptime_kuma_group }}" pidfile="/var/run/$SVCNAME.pid" #command_background=true #start_stop_daemon_args="--stdout-logger logger --stderr-logger logger" supervisor="supervise-daemon" depend() { need net use dns }