insserv: warning: script 'le_ispc_pem.sh' missing LSB tags and overrides

Discussion in 'Installation/Configuration' started by Tastiger, Jun 27, 2017.

  1. Tastiger

    Tastiger Member HowtoForge Supporter

    Just installed the following updates:-
    and get the following:-
    What do I need to add to 'le_ispc_pem.sh' to avoid this message?
     
  2. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    I think that is from my tutorial. Did you delete the created file after following the tutorial for any reason or by mistake?

    If you need to remove it properly use "incrontab -e" and delete /etc/letsencrypt/archive/yourserverdomain/ IN_MODIFY ./etc/init.d/le_ispc_pem.sh from it.
     
  3. Tastiger

    Tastiger Member HowtoForge Supporter

    No I have not deleted the file , here is the contents:-
    Code:
    !/bin/sh
    rm /usr/local/ispconfig/interface/ssl/ispserver.pem
    cat /usr/local/ispconfig/interface/ssl/ispserver.{key,crt} > /usr/local/ispconfig/interface/ssl/ispserver.pem
    chmod 600 /usr/local/ispconfig/interface/ssl/ispserver.pem
    service pure-ftpd-mysql restart
    service postfix restart
    service dovecot restart
    service apache2 restart
    service ssh restart
    service lxcfs restart
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    The message is uncritical, so the easy way is just to ignore it. If you want to solve it, add LSB tags in the head of the init script: https://wiki.debian.org/LSBInitScripts
     
  5. Tastiger

    Tastiger Member HowtoForge Supporter

    Thanks for that - looks easier to ignore it :)
     
  6. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    Oh
    Yes. That is why. If you follow the link provided by till above, you will find the right format for the script header which I think will stop the warning. I think mine have that header. However, I will have to check and update later. It is Eid Festival in my country now.
     
    till likes this.
  7. Tastiger

    Tastiger Member HowtoForge Supporter

    That would be very helpful - thanks
     
  8. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    Ok. I checked and I did have the said header for my own script. I already edited the tutorial to include the same header in it. Cheers.
     
    till likes this.
  9. Tastiger

    Tastiger Member HowtoForge Supporter

    Thanks - will see what happens next time there is an update.
     

Share This Page