๐Ÿ“— Ansible playbooks and roles for building an idempotent, interconnected and scalable infrastructure
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
454 B

2 years ago
#!/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
}