fix all issues

This commit is contained in:
2025-04-09 13:34:56 +03:00
parent 99e91324bc
commit 1d5157b635
4 changed files with 28 additions and 15 deletions

View File

@@ -1,10 +1,14 @@
#!/sbin/openrc-run
command="/usr/bin/dotnet"
command_args="run --project /hiveemulator/src/CommunicationControl/DevOpsProject/DevOpsProject.CommunicationControl.API.csproj"
command="./DevOpsProject.CommunicationControl.API"
command_args=""
pidfile="/run/hive-cc.pid"
supervisor="supervise-daemon"
start_pre() {
cd /hiveemulator/src/CommunicationControl/DevOpsProject/bin/Debug/net8.0/
}
depend() {
need redis
}

View File

@@ -1,10 +1,14 @@
#!/sbin/openrc-run
command="/usr/bin/dotnet"
command_args="run --project /hiveemulator/src/CommunicationControl/DevOpsProject.HiveMind.API/DevOpsProject.HiveMind.API.csproj"
command="./DevOpsProject.HiveMind.API"
command_args=""
pidfile="/run/hive-hm.pid"
supervisor="supervise-daemon"
start_pre() {
cd /hiveemulator/src/CommunicationControl/DevOpsProject.HiveMind.API/bin/Debug/net8.0/
}
depend() {
need hive-cc
}

View File

@@ -9,7 +9,6 @@ depend() {
need hive-cc
}
start() {
start_pre() {
cd /hiveemulator/src/MapClient/
${command} ${command_args}
}