nxy/nxy-bot.service
2017-07-04 15:47:57 +02:00

14 lines
280 B
Desktop File

[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