This commit is contained in:
2023-09-18 21:05:18 +08:00
parent 71099844b6
commit bc50f10c24

View File

@@ -1,12 +1,13 @@
#!/bin/bash
ProcList="restagent crontask sshsvc captrace adb"
ProcListDesc="adb restagent crontask sshsvc captrace"
BinDir=/usr/local/omc/bin
case "$1" in
start)
for procName in $ProcList;do
for procName in $ProcListDesc;do
echo "Starting $procName process ..."
systemctl start $procName
sleep 1