Browse Source

Added systemd service.

main
Nichole Mattera 10 months ago
parent
commit
dca4f9973a
  1. 14
      dominic-botoretto.service

14
dominic-botoretto.service

@ -0,0 +1,14 @@
[Unit]
Description=Dominic Botoretto Discord Bot
[Service]
Type=simple
Restart=always
RestartSec=5s
User=dominic
Environment=PYTHONUNBUFFERED=1
WorkingDirectory=/path/to/dominic-botoretto/
ExecStart=/usr/bin/python3 /path/to/dominic-botoretto/Robocop.py
[Install]
WantedBy=multi-user.target
Loading…
Cancel
Save