In Fedora terms, jenkins is a so called legacy service. It does not provide a service file, but an old style System V init script. That should be recognized by systemd, but for doing so, AFAIK it needs a package called initscripts. Maybe that one is missing on your system?
Cheers -Fritz On 26.04.21 13:21, Horst Kronstorfer wrote:
hi! i have installed jenkins lts according to the installation instructions @ https://www.jenkins.io/doc/book/installing/linux/#fedora but when i try to start the service it fails: # systemctl start jenkins Failed to start jenkins.service: Unit jenkins.service not found. as it turns out the rpm does not contain the jenkins.service file: # dnf repoquery --list jenkins /etc/init.d/jenkins /etc/logrotate.d/jenkins /etc/sysconfig/jenkins /etc/yum.repos.d/jenkins.repo /usr/lib/jenkins /usr/lib/jenkins/jenkins.war /usr/sbin/rcjenkins /var/cache/jenkins /var/lib/jenkins /var/log/jenkins /etc/init.d/jenkins /etc/logrotate.d/jenkins /etc/sysconfig/jenkins /etc/yum.repos.d/jenkins.repo /usr/lib/jenkins /usr/lib/jenkins/jenkins.war /usr/sbin/rcjenkins /var/lib/jenkins /var/log/jenkins /etc/init.d/jenkins /etc/logrotate.d/jenkins /etc/sysconfig/jenkins /usr/lib/jenkins /usr/lib/jenkins/jenkins.war /usr/sbin/rcjenkins /var/cache/jenkins /var/lib/jenkins /var/log/jenkins is this file missing or am i supposed to provide one myself? regards -h -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/287def2b-92ff-4e46-a63e-f6bcceadfc9en%40googlegroups.com <https://groups.google.com/d/msgid/jenkinsci-users/287def2b-92ff-4e46-a63e-f6bcceadfc9en%40googlegroups.com?utm_medium=email&utm_source=footer>.
-- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/b6d37443-d54d-ab9c-59d8-3137ab807755%40fritz-elfert.de.
OpenPGP_0x6E8338980332A6B0.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature
