diff --git a/templates/vsftpd-letsencrypt-acme.sh.j2 b/templates/vsftpd-letsencrypt-acme.sh.j2 index 24514ce..3d9c731 100644 --- a/templates/vsftpd-letsencrypt-acme.sh.j2 +++ b/templates/vsftpd-letsencrypt-acme.sh.j2 @@ -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"