nxy/files/nxy-bot.service
2017-07-31 15:29:59 +02:00

14 lines
251 B
Desktop File

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