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.
>
I just tried this and it's still doing a restart. I see the pyc and pyo files which
led me to believe I need to "compile" the py file.
Thanks
-jeremy
interesting, will have to look into that one. I have mad changes in
other py files without issue
>>> _______________________________________________
>>> 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
>
_______________________________________________
cobbler mailing list
cobbler(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler