Merge branch 'master' of adellam/ansible-roles into master

This commit is contained in:
Andrea Dell'Amico 2019-07-03 11:30:30 +02:00 committed by Gitea
commit d2ef14b541
1 changed files with 2 additions and 2 deletions

View File

@ -17,9 +17,9 @@ fi
echo "Reload the openvpn service" >> $LE_LOG_DIR/openvpn.log echo "Reload the openvpn service" >> $LE_LOG_DIR/openvpn.log
if [ -x /bin/systemctl ] ; then 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 else
service openvpn reload >> $LE_LOG_DIR/openvpn.log 2>&1 service openvpn restart >> $LE_LOG_DIR/openvpn.log 2>&1
fi fi
echo "Done." >> $LE_LOG_DIR/openvpn.log echo "Done." >> $LE_LOG_DIR/openvpn.log