mirror of
https://gist.github.com/adc541a6245d55e39edd10dab1001a88.git
synced 2024-11-23 21:21:30 -08:00
update comment sendxmpp_handler.py
This commit is contained in:
parent
758a824184
commit
b10d2d1241
@ -25,7 +25,7 @@ class SENDXMPPHandler(Handler):
|
||||
|
||||
'''
|
||||
This works on Debian 10 with flask running under gunicorn3 as a systemd service, hack as necessary
|
||||
echo '<message>' | /usr/bin/sendxmpp -t -u <sender> -j <server> -p <password> <recipient>
|
||||
echo '<message>' | /usr/bin/sendxmpp -t -u <sender> -j <server> -p <password> <recipient@example.com>
|
||||
'''
|
||||
def emit(self, record):
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user