Merge branch 'master' of adellam/ansible-roles into master
This commit is contained in:
commit
d2ef14b541
|
@ -17,9 +17,9 @@ fi
|
|||
|
||||
echo "Reload the openvpn service" >> $LE_LOG_DIR/openvpn.log
|
||||
if [ -x /bin/systemctl ] ; then
|
||||
systemctl reload openvpn >> $LE_LOG_DIR/openvpn.log 2>&1
|
||||
systemctl restart openvpn >> $LE_LOG_DIR/openvpn.log 2>&1
|
||||
else
|
||||
service openvpn reload >> $LE_LOG_DIR/openvpn.log 2>&1
|
||||
service openvpn restart >> $LE_LOG_DIR/openvpn.log 2>&1
|
||||
fi
|
||||
|
||||
echo "Done." >> $LE_LOG_DIR/openvpn.log
|
||||
|
|
Loading…
Reference in New Issue