devops-lab4/daemon-files/hive-map

16 lines
217 B
Plaintext
Raw Normal View History

#!/sbin/openrc-run
command="npm"
command_args="run dev"
pidfile="/run/hive-map.pid"
supervisor="supervise-daemon"
depend() {
need hive-cc
}
start() {
cd /hiveemulator/src/MapClient/
${command} ${command_args}
}