Mailinglist Archive: opensuse-packaging (129 mails)

< Previous Next >
Re: [opensuse-packaging] Advice for moving a conf file
  • From: Cristian Rodríguez <crrodriguez@xxxxxxxxxxxx>
  • Date: Sat, 4 Apr 2015 16:47:11 -0300
  • Message-id: <>
On Sat, Apr 4, 2015 at 6:07 AM, Jan Engelhardt <jengelh@xxxxxxx> 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:
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

I strongly suggest you use method 4 suggested by Jan here.
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups