Created
November 24, 2018 21:36
-
-
Save d-Rickyy-b/6ef4c95bed57da1056e0c696a36e8559 to your computer and use it in GitHub Desktop.
Simple systemd service for the GeizhalsBot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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