[Unit]
Description=nxy python irc bot
After=network.target znc.service

[Service]
Type=simple
User=nxy
Environment=PYTHONPATH=/home/nxy/nxy
WorkingDirectory=/home/nxy/nxy
ExecStart=/home/nxy/.virtualenvs/nxy/bin/python nxy/bot.py config.json

[Install]
WantedBy=multi-user.target