----- "Francois Herbert" <user-796032f63edb@xymon.invalid> wrote:
That's another step I left out, I hard coded my server ip into
rpm/xymon.spec:
XYMONHOSTIP=myxymonserverIP
That way when I installed the rpm, all I had to do was start the
xymon-client and I no more configuration was required on the client
(/etc/default/xymon-client was preconfigured in the rpm)
If you want repos, or xymon to be included in the distributions you use, you should rather populate /etc/sysconfig/xymon-client (my RPMS use this as it is the more standard location on RH-based distros). So, there is not much benefit in doing it in your spec file.
Regards,
Buchan