Last active
December 9, 2022 18:33
-
-
Save Zxce3/584309dade0a72e4eb8423f6fc44e594 to your computer and use it in GitHub Desktop.
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=Guard-Bot Levina | |
Requires=network.target | |
[Service] | |
Type=simple | |
User=levina | |
Group=levina | |
# edit your working directory | |
WorkingDirectory=/home/levina/guard-bot | |
# this too | |
ExecStart=/home/levina/guard-bot/venv/bin/python3 -m eduu | |
Restart=on-failure | |
[Install] | |
WantedBy=multi-user.target |
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=Guard-Bot Levina | |
Requires=network.target | |
[Service] | |
Type=simple | |
User=levina | |
Group=levina | |
WorkingDirectory=/home/levina/guard-bot | |
ExecStart=/usr/bin/python3 -m eduu | |
Restart=on-failure | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment