Commit 5488ee26 authored by Christian Tacke's avatar Christian Tacke
Browse files

Use ConfigDir instead of SysconfDir

ConfigDir already contains the /icinga2/ so let's use that.
parent 04213e47
object NotificationCommand "xmpp-host-notification" {
command = [ SysconfDir + "/icinga2/scripts/xmppnotify.py" ]
command = [ ConfigDir + "/scripts/xmppnotify.py" ]
arguments += {
"-4" = {
......@@ -56,7 +56,7 @@ object NotificationCommand "xmpp-host-notification" {
}
object NotificationCommand "xmpp-service-notification" {
command = [ SysconfDir + "/icinga2/scripts/xmppnotify.py" ]
command = [ ConfigDir + "/scripts/xmppnotify.py" ]
arguments += {
"-4" = "$notification_address$"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment