nxy/files/nxy-bot.service

14 lines
243 B
SYSTEMD
Raw Normal View History

2017-07-04 13:22:20 +00:00
[Unit]
Description=nxy python irc bot
2017-07-31 13:29:59 +00:00
After=network.target
2017-07-04 13:22:20 +00:00
[Service]
Type=simple
2017-07-31 13:29:59 +00:00
Restart=always
Environment=PYTHONPATH=%h/nxy
2017-08-21 16:17:13 +00:00
WorkingDirectory=/home/nxy
2017-07-31 13:31:45 +00:00
ExecStart=/home/nxy/env/bin/python -m bot config.json
2017-07-04 13:22:20 +00:00
[Install]
2017-07-31 13:29:59 +00:00
WantedBy=default.target