cedbot.service 335 B

123456789101112
  1. [Unit]
  2. Description=cedbot convesdis chatbot service
  3. After=syslog.target network.target
  4. [Service]
  5. Type=idle
  6. WorkingDirectory=/path/to/cedbot/
  7. 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
  8. Restart=on-abort
  9. [Install]
  10. WantedBy=multi-user.target