Files
devops-lab4/daemon-files/hive-map
T

16 lines
217 B
Plaintext
Raw Normal View History

2025-03-31 19:50:26 +03:00
#!/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}
}