Please provide the changes or file diffs you would like me to summarize.
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user