blob: 405cb28ba1987d28ce04e85a77fa8f2affd8d9c7 (
plain) (
tree)
|
|
#!/bin/bash -e
function checkDrain {
clever drain | grep "${SYSLOG_UDP_SERVER}"
}
function setDrain {
clever drain create UDPSyslog "udp://${SYSLOG_UDP_SERVER}"
}
checkDrain || setDrain
|