Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-11958

bin/contrib/karaf-service.sh does not work until executed from bin/contrib folder

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • fuse-7.6-ER1
    • fuse-7.5-ER1
    • None
    • None

      Hello,

      I've been trying to install karaf as a service with scripts contained in bin/contrib and encountered this error:

      Writing service file "/home/hudson/fuse-karaf-7.5.0.fuse-750030-redhat-00001/karaf.service"
      bin/contrib/karaf-service.sh: line 121: karaf-service-template.systemd: No such file or directory
      Writing service configuration file "/home/hudson/fuse-karaf-7.5.0.fuse-750030-redhat-00001/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/fuse-karaf-7.5.0.fuse-750030-redhat-00001/karaf@.service"
      bin/contrib/karaf-service.sh: line 121: karaf-service-template.systemd-instances: No such file or directory
      

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

            vhais Vratislav Hais (Inactive)
            vhais Vratislav Hais (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: