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
272 B
15 lines
272 B
2 years ago
|
#!/sbin/openrc-run
|
||
|
|
||
|
name="$SVCNAME"
|
||
|
directory="{{ shop_dir }}"
|
||
|
command="node {{ shop_dir }}/app.mjs"
|
||
|
command_user="{{ shop_user }}:{{ shop_group }}"
|
||
|
pidfile="/var/run/$SVCNAME.pid"
|
||
|
supervisor="supervise-daemon"
|
||
|
respawn_max=0
|
||
|
|
||
|
depend() {
|
||
|
need net
|
||
|
use dns
|
||
|
}
|