[Unit] Description=cedbot convesdis chatbot service After=syslog.target network.target [Service] Type=idle WorkingDirectory=/path/to/cedbot/ ExecStart=/user/bin/python /path/to/cedbot/cedbot_muc.py -d -j user@domain.tld/ressource -r room@muc.domain.tld -n cedbot -p YOURPASSWORD Restart=on-abort [Install] WantedBy=multi-user.target