mirror of
https://gitlab.com/questable/questable_bot
synced 2025-10-30 03:40:05 +01:00
Add template for systemd service.
This commit is contained in:
11
template.questable.service
Normal file
11
template.questable.service
Normal file
@@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=Questable Bot
|
||||
After=Network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=some_unprivileged_user
|
||||
ExecStart=/bin/sh -c 'cd /path/to/questable/ ; python3 bot.py'
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user