Please provide the changes or file diffs you would like me to summarize.

This commit is contained in:
Victor Phan
2026-07-21 15:26:21 +07:00
parent 2a9dc1f736
commit 1e9cbef708
+21
View File
@@ -0,0 +1,21 @@
systemctl unmask shopeebot
cat << 'EOF' > /etc/systemd/system/shopeebot.service
[Unit]
Description=Shopee Affiliate Bot API
After=network.target
[Service]
User=root
WorkingDirectory=/root/botAffilate/serverPython
ExecStart=/root/botAffilate/serverPython/venv/bin/python main.py
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target
EOF
systemctl daemon-reload
systemctl enable shopeebot
systemctl start shopeebot