How run my own script after ISPC Let's Encrypt update ?

Discussion in 'ISPConfig 3 Priority Support' started by radim_h, Jun 7, 2017.

  1. radim_h

    radim_h Member HowtoForge Supporter

    Hello,
    what to do if i need to run some post-letsencrypt scripts in ispconfig
    For example: postfix and dovecot are using cert linked to cert of one of the pages, so after ispconfig runs its own letsencrypt scripts and potentialy update certs, i need to restart postfix & dovecot. Ideally, but not neccessary some place not afftected with ISPC update

    Thank you for help in advance
    RH
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    There is currently no way to run a custom script on LE renewal. ISPConfig just runs the LE renewal command itself without knowing which exact SSL cert or if any SSL certs at all get renewed at that time.
     
  3. radim_h

    radim_h Member HowtoForge Supporter

    that is no problem, i can restart services after each cron run (even if nothing is renewed), just don't know where to put script or link to it
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    The LE renewal is run at 03:00 every day. So when you put your script a few minutes later, then it should be able to catch the new SSL certs.
     

Share This Page