4 Apr
2015
4 Apr
'15
19:50
On Sat, 4 Apr 2015 21:47, Cristian Rodríguez wrote:
On Sat, Apr 4, 2015 at 6:07 AM, Jan Engelhardt wrote:
Previously the configuration file was in /etc/collectd.conf Now the systemd service file is expecting it in /etc/collectd/collectd.conf The old init script is still pointing to /etc/collectd.conf What would be the best approach (especially for migration)
Method #4: %post if [ ! -e /etc/collectd/collectd.conf ]; then ln -s ../collectd.conf /etc/collectd/; fi
That is what was used for "moving" /etc/sysctl.conf to /etc/sysctl.d/99-local.conf.
I strongly suggest you use method 4 suggested by Jan here.
And, if possible make notice of this location change in the package changelog, this helps later on. Thank you for the time invested. - Yamaban.