On Jun 11, 2010, at 12:50 PM, Ronald J. Yacketta wrote:
On 6/11/2010 3:49 PM, Jeremy Hansen wrote:
> On Jun 11, 2010, at 12:41 PM, Ronald J. Yacketta wrote:
>
>
>> On 6/11/2010 3:24 PM, Jeremy Hansen wrote:
>>
>>> I'm running 2.0.3. Is there any way I can change the option for the
service to a reload instead of restart?
>>>
>>> Thanks
>>> -jeremy
>>> _______________________________________________
>>> cobbler mailing list
>>> cobbler(a)lists.fedorahosted.org
>>>
https://fedorahosted.org/mailman/listinfo/cobbler
>>>
>>>
>> This would require a code change (patch) to sync_post_restart_services.py
>>
>> look for:
>> rc = utils.subprocess_call(logger, "/etc/rc.d/init.d/named restart",
>> shell=True)
>>
>>
> Thanks. Is it enough to change the .py python file or do I have to do some kind of
rebuild? (sorry, my development skills are pretty lame) I can patch the source and build
a new rpm, but I'd like to test this in place first if that's possible.
>
> Thanks
>
>
You can modify the py file, but it might cause issues when it comes time
to upgrade cobller, you will more than likely get a .rpmnew file for
that py file.
Understood. Perhaps this can be a feature request. A settings config option for
"named_restart = reload" or whatever makes sense, but it would be nice to easily
adjust this, at least for named. In most cases, a full restart on named is unnecessary.
Thanks!
-jeremy
>> _______________________________________________
>> cobbler mailing list
>> cobbler(a)lists.fedorahosted.org
>>
https://fedorahosted.org/mailman/listinfo/cobbler
>>
> _______________________________________________
> cobbler mailing list
> cobbler(a)lists.fedorahosted.org
>
https://fedorahosted.org/mailman/listinfo/cobbler
>
_______________________________________________
cobbler mailing list
cobbler(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler