12 lines
206 B
SYSTEMD
12 lines
206 B
SYSTEMD
|
[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
|