feat: 修改 receptor 启动参数

This commit is contained in:
Aaron3S
2024-04-09 15:38:52 +08:00
committed by Bryan
parent be90bf6b28
commit bc76ce50e1
5 changed files with 113 additions and 42 deletions

View File

@@ -19,6 +19,8 @@ if [[ "$action" == "bash" || "$action" == "sh" ]];then
elif [[ "$action" == "sleep" ]];then
echo "Sleep 365 days"
sleep 365d
elif [[ "$service" == "receptor" ]];then
python receptor "$action"
else
python jms "${action}" "${service}"
fi
python jms "$action" "$service"
fi