FS#35633 - ddclient : systemd service ignores/overrides some configuration file parameters
Attached to Project:
Community Packages
Opened by skai (skai) - Tuesday, 04 June 2013, 07:18 GMT
Last edited by Jonathan Steel (jsteel) - Wednesday, 05 June 2013, 19:53 GMT
Opened by skai (skai) - Tuesday, 04 June 2013, 07:18 GMT
Last edited by Jonathan Steel (jsteel) - Wednesday, 05 June 2013, 19:53 GMT
|
Details
Description:
in file : /usr/lib/systemd/system/ddclient.service the start command includes some options that overrides the configuration file parameters : '-daemon 300 -syslog' : ExecStart=/usr/sbin/ddclient -daemon 300 -syslog -pid /run/ddclient.pid doing this overrides the options set in /etc/ddclient/ddclient.conf Simply removing '-daemon 300 -syslog' from ExecStart will work. Additional info: * package version(s) : 3.8.1.6 * config and/or log files etc. Steps to reproduce: just install and run. |
This task depends upon
Closed by Jonathan Steel (jsteel)
Wednesday, 05 June 2013, 19:53 GMT
Reason for closing: Fixed
Additional comments about closing: 3.8.1-8
Wednesday, 05 June 2013, 19:53 GMT
Reason for closing: Fixed
Additional comments about closing: 3.8.1-8
I think "-pid /run/ddclient.pid" can be removed as well, is there any reason you did not mention this?
Thanks
I have some memories of problems that may occur when systmed is expecting a pid file somewhere,
and it is created elsewhere.
So... sounds a good idea to override the configuration file in this case.
But this needs tests, I was too lazy for this, and don't know systemd enough.