Fix uneven quotes in status command.

This commit is contained in:
facetoe 2016-02-20 22:51:27 +08:00
parent 754a5d4d83
commit 357aaa76a1

View File

@ -23,7 +23,7 @@ class OpenVPN(IntervalModule):
status_up = '' status_up = ''
status_down = '' status_down = ''
format = "{vpn_name} {status}" format = "{vpn_name} {status}"
status_command = "bash -c \"systemctl show openvpn@%(vpn_name)s | grep 'ActiveState=active'" status_command = "bash -c 'systemctl show openvpn@%(vpn_name)s | grep ActiveState=active'"
label = '' label = ''
vpn_name = '' vpn_name = ''