You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Vratislav Hais (Jira)" <ji...@apache.org> on 2019/10/09 13:16:00 UTC

[jira] [Created] (KARAF-6449) karaf-service.sh does not work until executed from its folder

Vratislav Hais created KARAF-6449:
-------------------------------------

             Summary: karaf-service.sh does not work until executed from its folder
                 Key: KARAF-6449
                 URL: https://issues.apache.org/jira/browse/KARAF-6449
             Project: Karaf
          Issue Type: Bug
            Reporter: Vratislav Hais


Hello,

I've been trying to install karaf as a service with scripts contained in assemblies/features/base/src/main/resources/resources/bin/contrib and encountered this error: 
{code}
Writing service file "/home/hudson/karaf/assemblies/features/base/src/main/resources/resources/bin/contrib/karaf.service"
bin/contrib/karaf-service.sh: line 121: karaf-service-template.systemd: No such file or directory
Writing service configuration file "/home/hudson/karaf/assemblies/features/base/src/main/resources/resources/bin/contrib/etc/karaf.conf"
bin/contrib/karaf-service.sh: line 125: karaf-service-template.conf: No such file or directory
Writing service file "/home/hudson/karaf/assemblies/features/base/src/main/resources/resources/bin/contrib/karaf-service.sh: line 121: karaf-service-template.systemd-instances: No such file or directory
{code}

this error is not present when the script is executed from it's folder (bin/contrib)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)