questable_bot/template.questable.service

12 lines
206 B
SYSTEMD
Raw Normal View History

2018-11-04 15:29:00 +01:00
[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