[ganglia.spec.in] Add support for systemd packaging.
Add missing ck-devel BuildRequires
Fix specfile trying to package the web interface (now splitted apart).
[INSTALL] Add missing CK dependancy
[gmetad.service.in] Fix systemd service file for gmetad.
1/ removed the -f option that gmetad don't understand
2/ removed User=ganglia as it prevents gmetad to start failing to setuid to nobody as configured by default in gmetad.conf
3/ Added Type=forking and PIDFile= so the service is correctly handeled by systemd
4/ EnvironmentFile= to point to /etc/sysconfig/ganglia (same behaviour as the init script.
=> using @runstatedir@ for /var/run and @envdir@ for /etc/sysconfig (or /det/defaults on debian flavour)
[gmond.service.in] Fix systemd service file for gmond.
1/ removed the -f option as we're using Type=forking
2/ removed User=nobody as gmond tries to setuid to the user configured in it's config file. if different from nobody it fails.
3/ Added Type=forking and PIDFile= so the service is correctly handeled by systemd
=> using @runstatedir@ for /var/run and @envdir@ for /etc/sysconfig (or /det/defaults on debian flavour)
[fixconfig.in] Add support for @runstatedir@ @envdir@ so systemd services files can be fixed.
I personnaly don't like this patch. It is preferable to add this support configure.ac and keep only the sed part.
Unfortunately I'm unable to fix configure.ac to add --runstatedir and --envdir options.
note that --runstatedir is avalable in autoconf >= 2.70 and points to /var/run by default.
--envdir should point by default to /etc/sysconfig/ on systems having this directory and to /etc/default/ otherwize.
this directory contains the env files to be sourced before the daemon is started by init script or systemd.