16 lines
392 B
Django/Jinja
16 lines
392 B
Django/Jinja
description "Parse server dashboard"
|
|
start on (local-filesystems and net-device-up IFACE!=lo)
|
|
stop on runlevel [016]
|
|
|
|
respawn
|
|
respawn limit 10 5
|
|
setuid {{ parse_server_user }}
|
|
setgid {{ parse_server_user }}
|
|
|
|
script
|
|
. /etc/default/parse-server-dashboard
|
|
export PARSE_DASHBOARD_TRUST_PROXY
|
|
export MOUNT_PATH
|
|
exec /usr/bin/parse-dashboard --config parse-dashboard-config.json
|
|
end script
|