fix the hook script

This commit is contained in:
Andrea Dell'Amico 2023-01-02 12:53:26 +01:00
parent 08838d0704
commit 141a62ba04
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 1 additions and 1 deletions

View File

@ -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"