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
|
||||
[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
|
||||
|
||||
Reference in New Issue
Block a user