openkm and tomcat startup

  • I have openkm running for a long time, but i have only just noticed an error during startup in the boot.log
    ------


    Mon Jan 2 23:05:08 2017: /etc/init.d/tomcat: 24: /etc/init.d/tomcat: pre-start: not found
    Mon Jan 2 23:05:08 2017: /etc/init.d/tomcat: 27: /etc/init.d/tomcat: end: not found
    ------


    I can see it is a syntax problem with /etc/init.d/tomcat - i guess.


    The code has
    #!/bin/sh
    pre-start script
    mkdir -p -m0755 /var/run/openkm
    chown openkm:openkm /var/run/openkm
    end script


    hoping someone can tell me what is wrong with the above.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!