Update menu-fdmr

This commit is contained in:
Esteban Mackay Q 2023-02-10 17:08:26 -05:00 committed by GitHub
parent 49482e3615
commit 9d86fec133
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -37,9 +37,9 @@ sudo systemctl stop fdmrparrot.service && sudo systemctl start fdmrparrot.servic
6) 6)
sudo systemctl stop fdmrparrot.service && sudo systemctl disable fdmrparrot.service ;; sudo systemctl stop fdmrparrot.service && sudo systemctl disable fdmrparrot.service ;;
7) 7)
sudo systemctl start mariadb.service && sudo systemctl enable mariadb.service && sudo systemctl stop proxy.service && sudo systemctl start proxy.service && sudo systemctl enable proxy.service && sudo systemctl stop freedmr.service && sudo systemctl start freedmr.service && sudo systemctl enable freedmr.service && cronedit.sh '* */12 * * *' 'data-id' add;; sudo systemctl start mariadb.service && sudo systemctl enable mariadb.service && sudo systemctl stop proxy.service && sudo systemctl start proxy.service && sudo systemctl enable proxy.service && sudo systemctl stop freedmr.service && sudo systemctl start freedmr.service && sudo systemctl enable freedmr.service;;
8) 8)
sudo systemctl stop freedmr.service && sudo systemctl disable freedmr.service && sudo systemctl stop proxy.service && sudo systemctl disable proxy.service && cronedit.sh '* */12 * * *' 'data-id' remove && sudo systemctl stop freedmr.service && sudo systemctl disable freedmr.service && sudo systemctl stop proxy.service && sudo systemctl disable proxy.service &&
if systemctl status freedmr.service |grep inactive >/dev/null 2>&1 && systemctl status fdmr_mon.service |grep inactive >/dev/null 2>&1 if systemctl status freedmr.service |grep inactive >/dev/null 2>&1 && systemctl status fdmr_mon.service |grep inactive >/dev/null 2>&1
then then
systemctl stop mariadb.service systemctl stop mariadb.service