fix the hook script
This commit is contained in:
parent
08838d0704
commit
141a62ba04
|
@ -32,7 +32,7 @@ chgrp root ${VSFTPD_CERTFILE}
|
|||
|
||||
if [ -x /bin/systemctl ] ; then
|
||||
logger "acme-vsftpd-hook: Restart the VSFTPD service after a certificate renewal"
|
||||
systemctl restart VSFTPD >> $LE_LOG_DIR/vsftpd.log 2>&1
|
||||
/bin/systemctl restart vsftpd >> $LE_LOG_DIR/vsftpd.log 2>&1
|
||||
echo "acme-vsftpd-hook: Restart the VSFTPD service" >> $LE_LOG_DIR/vsftpd.log
|
||||
else
|
||||
logger "acme-vsftpd-hook: Restart the VSFTPD service after a certificate renewal"
|
||||
|
|
Loading…
Reference in New Issue