Skip to content

Instantly share code, notes, and snippets.

@d-Rickyy-b
Created November 24, 2018 21:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save d-Rickyy-b/6ef4c95bed57da1056e0c696a36e8559 to your computer and use it in GitHub Desktop.
Save d-Rickyy-b/6ef4c95bed57da1056e0c696a36e8559 to your computer and use it in GitHub Desktop.
Simple systemd service for the GeizhalsBot
[Unit]
Description=Python-GeizhalsBot
[Service]
Type=simple
ExecStart=/opt/bots/Python-GeizhalsBot/.venv/bin/python3 /opt/bots/Python-GeizhalsBot/main.py
WorkingDirectory=/opt/bots/Python-GeizhalsBot
User=botFather
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment