|
@@ -1,8 +1,12 @@
|
|
|
[Unit]
|
|
|
Description=cedbot service
|
|
|
After=syslog.target network.target
|
|
|
+
|
|
|
[Service]
|
|
|
-ExecStart=/home/bach/cedbot/cedbot_muc.py
|
|
|
-Restart=on-abort
|
|
|
+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
|
|
|
+
|
|
|
[Install]
|
|
|
WantedBy=multi-user.target
|