[Unit] Description=Errbot chat bot Documentation=http://errbot.io/en/latest/ Wants=network-online.target After=network-online.target [Service] Type=exec User=errbot Environment=CONFIGFILE=/etc/errbot/config-template.py EnvironmentFile=-/etc/default/errbot WorkingDirectory=/var/lib/errbot ExecStart=/usr/bin/errbot --config ${CONFIGFILE} KillSignal=SIGINT Restart=on-failure [Install] WantedBy=multi-user.target