RPM Community Forums

Mailing List Message of <rpm-users>

Creating an RPM to install a daemon

From: Joe Flowers <joe.flowers@nofreewill.com>
Date: Thu 28 Oct 2010 - 17:10:12 CEST
Message-ID: <4CC99254.40800@nofreewill.com>
Hello Everyone,

I am trying to create an RPM that will install a daemon "correctly", but 
I'm not sure if or where I should put the command:

chkconfig --level 345 /etc/rc.d/mydaemon on


Should this line go somewhere in the Makefile (like the "install" 
section), or should it go in the RPM .spec file somewhere?

Is there some other command I should use rather than this external 
"chkconfig" program?

Thanks!

Joe
---------------
Received on Thu Oct 28 18:05:12 2010
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.