Thanks for reporting an issue, but I'm unable to duplicate the issue that you're reporting.
When I install Jenkins 2.303.3 on CentOS 8 using the instructions from https://pkg.jenkins.io/redhat-stable/ , the daemon program is not referenced. The daemonize program is part of the 'daemonize' package that is provided by the epel-release package. It is installed by the 'yum' package manager when I install the 'jenkins' package because the 'daemonize' package is a declared dependency of the 'jenkins' package.
When I install Jenkins 2.303.3 on CentOS 8 using the instructions from https://pkg.jenkins.io/redhat-stable/ , the killproc function is part of /etc/rc.d/init.d/functions. The command
systemctl restart jenkins
correctly stops the Jenkins service and restarts it.
When I install Jenkins 2.322 on CentOS 8, I see the same results as I see with Jenkins 2.303.3.
I don't see any reference to the command 'daemon' in the files installed by the Jenkins rpm package on CentOS 8. There is a reference to the 'killproc' function, but that function is provided by the operating system init scripts.
Can you provide more details about the environment where you are installing and the package that you used to perform the installation? For example, you said that you're installing with 'yum' but didn't mention the operating system where you're performing the installation.
Thanks for reporting an issue, but I'm unable to duplicate the issue that you're reporting.
When I install Jenkins 2.303.3 on CentOS 8 using the instructions from https://pkg.jenkins.io/redhat-stable/ , the daemon program is not referenced. The daemonize program is part of the 'daemonize' package that is provided by the epel-release package. It is installed by the 'yum' package manager when I install the 'jenkins' package because the 'daemonize' package is a declared dependency of the 'jenkins' package.
When I install Jenkins 2.303.3 on CentOS 8 using the instructions from https://pkg.jenkins.io/redhat-stable/ , the killproc function is part of /etc/rc.d/init.d/functions. The command
correctly stops the Jenkins service and restarts it.
When I install Jenkins 2.322 on CentOS 8, I see the same results as I see with Jenkins 2.303.3.
I don't see any reference to the command 'daemon' in the files installed by the Jenkins rpm package on CentOS 8. There is a reference to the 'killproc' function, but that function is provided by the operating system init scripts.
Can you provide more details about the environment where you are installing and the package that you used to perform the installation? For example, you said that you're installing with 'yum' but didn't mention the operating system where you're performing the installation.