Browse Source

Added systemd service.

main
Nichole Mattera 2 months ago
parent
commit
dca4f9973a
1 changed files with 14 additions and 0 deletions
  1. +14
    -0
      dominic-botoretto.service

+ 14
- 0
dominic-botoretto.service View File

@@ -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