[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