|
@@ -1,12 +1,12 @@
|
|
|
[Unit]
|
|
|
-Description=cedbot service
|
|
|
+Description=cedbot convesdis chatbot service
|
|
|
After=syslog.target network.target
|
|
|
|
|
|
[Service]
|
|
|
+Type=idle
|
|
|
WorkingDirectory=/path/to/cedbot/
|
|
|
-ExecStart=/path/to/cedbot/cedbot_muc.py -d -j user@domain.tld/ressource -r room@muc.domain.tld -n cedbot -p YOURPASSWORD
|
|
|
-StandardOutput=syslog
|
|
|
-StandardError=syslog
|
|
|
+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
|