• Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Critical Critical
    • packaging
    • None
    • 2.335, 2.332.1

      Currently debian packages (and presumably redhat/suse/etc) ship with old style SysV init.d file.

      Most distributions are now systemd based, and to be able to make use of it's additional features it would be useful have /lib/systemd/system/jenkins.service file.

      This would allow features like systemd's restart functionality to work (useful when Jenkins occasionally crashes, etc). See discussion around this here: http://serverfault.com/questions/760552/how-to-use-automatic-restart-with-jenkins-on-systemd

      Details of how provide both systemd unit file and SysV init file are detailed here:
      https://wiki.debian.org/Teams/pkg-systemd/Packaging

      This should be applicable to all distro, and systemd unit most likely the same across them all, as it's much more standardised than each distros SysV init infrastructure.

      https://github.com/jenkinsci/packaging

          [JENKINS-41218] Provide native systemd unit

          Nicholas Brown created issue -
          Dirk Heinrichs made changes -
          Priority Original: Minor [ 4 ] New: Critical [ 2 ]
          Dirk Heinrichs made changes -
          Link New: This issue is related to JENKINS-65809 [ JENKINS-65809 ]
          Mark Waite made changes -
          Assignee Original: Kohsuke Kawaguchi [ kohsuke ]
          Conrad T. Pino made changes -
          Link New: This issue is related to JENKINS-67404 [ JENKINS-67404 ]
          Conrad T. Pino made changes -
          Link New: This issue relates to JENKINS-67405 [ JENKINS-67405 ]
          Tim Jacomb made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Basil Crow made changes -
          Assignee New: Basil Crow [ basil ]
          Resolution Original: Duplicate [ 3 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
          Basil Crow made changes -
          Status Original: Reopened [ 4 ] New: In Progress [ 3 ]
          Basil Crow made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Basil Crow made changes -
          Remote Link New: This issue links to "jenkinsci/packaging#266 (Web Link)" [ 27369 ]

            basil Basil Crow
            nickbrown Nicholas Brown
            Votes:
            14 Vote for this issue
            Watchers:
            28 Start watching this issue

              Created:
              Updated:
              Resolved: