Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8236128

Allow jpackage create installers for services

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b21
    • CPU:
      generic
    • OS:
      generic

      Description

      Later would-be-nices, not for this desktop app, but ability to use it to package background service-type apps, as a service for windows, using launchd for osx, and systemd for linux.

      macOS:
      Create additional two packages when building a package with services. One will install launched-specific .plist files in /Library/LaunchDaemons folder. Another one will install /Library/Application Support/<app_name>/uninsatll.command shell script with commands removing app's services from the system.
      Package IDs for these two packages will be <app_pkg_id>.services and <app_pkg_id>.support accordingly.
      If the app's package ID is "com.dukecorp", then ID for additional packages will be "com.dukecorp.services" and "com.dukecorp.support".

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              asemenyuk Alexey Semenyuk
              Reporter:
              asemenyuk Alexey Semenyuk
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: