feat: add install_services.sh script to configure and restart the shopeebot systemd service
This commit is contained in:
@@ -1,5 +1,3 @@
|
|||||||
systemctl unmask shopeebot
|
|
||||||
|
|
||||||
cat << 'EOF' > /etc/systemd/system/shopeebot.service
|
cat << 'EOF' > /etc/systemd/system/shopeebot.service
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Shopee Affiliate Bot API
|
Description=Shopee Affiliate Bot API
|
||||||
@@ -17,5 +15,5 @@ WantedBy=multi-user.target
|
|||||||
EOF
|
EOF
|
||||||
|
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
systemctl enable shopeebot
|
systemctl restart shopeebot
|
||||||
systemctl start shopeebot
|
systemctl status shopeebot
|
||||||
|
|||||||
Reference in New Issue
Block a user