Merge pull request #325 from facetoe/master

Fix uneven quotes in status command.
This commit is contained in:
enkore 2016-02-20 18:06:52 +01:00
commit 438557eaed

View File

@ -23,7 +23,7 @@ class OpenVPN(IntervalModule):
status_up = ''
status_down = ''
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 = ''
vpn_name = ''