You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
292 B

  1. [Unit]
  2. Description=Dominic Botoretto Discord Bot
  3. [Service]
  4. Type=simple
  5. Restart=always
  6. RestartSec=5s
  7. User=dominic
  8. Environment=PYTHONUNBUFFERED=1
  9. WorkingDirectory=/path/to/dominic-botoretto/
  10. ExecStart=/usr/bin/python3 /path/to/dominic-botoretto/Robocop.py
  11. [Install]
  12. WantedBy=multi-user.target