diff --git a/serverPython/install_services.sh b/serverPython/install_services.sh index b58225f..3000016 100644 --- a/serverPython/install_services.sh +++ b/serverPython/install_services.sh @@ -1,5 +1,3 @@ -systemctl unmask shopeebot - cat << 'EOF' > /etc/systemd/system/shopeebot.service [Unit] Description=Shopee Affiliate Bot API @@ -17,5 +15,5 @@ WantedBy=multi-user.target EOF systemctl daemon-reload -systemctl enable shopeebot -systemctl start shopeebot +systemctl restart shopeebot +systemctl status shopeebot