mirror of
https://gitlab.com/questable/questable_bot
synced 2025-04-01 21:06:52 +02:00
Add template for systemd service.
This commit is contained in:
parent
c4d1452f8a
commit
79a81bb9d1
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
|
Loading…
x
Reference in New Issue
Block a user