nxy/files/nxy-bot.service
2017-08-21 18:17:13 +02:00

14 lines
243 B
Desktop File

[Unit]
Description=nxy python irc bot
After=network.target
[Service]
Type=simple
Restart=always
Environment=PYTHONPATH=%h/nxy
WorkingDirectory=/home/nxy
ExecStart=/home/nxy/env/bin/python -m bot config.json
[Install]
WantedBy=default.target