๐Ÿ“— 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.

15 lines
267 B

2 years ago
#!/sbin/openrc-run
name="$SVCNAME"
directory="{{ cdr_dir }}"
command="node {{ cdr_dir }}/app.js"
command_user="{{ cdr_user }}:{{ cdr_group }}"
pidfile="/var/run/$SVCNAME.pid"
supervisor="supervise-daemon"
respawn_max=0
depend() {
need net
use dns
}