Browse Source

Add template for systemd service.

master
Ceda EI 4 years ago
parent
commit
79a81bb9d1
  1. 11
      template.questable.service

11
template.questable.service

@ -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…
Cancel
Save