Thanks Milan.

I found a small syntax issue with /etc/init.d/rhn-search when setting
this.  If you set search.index_work_dir in, you get

# service rhn-search restart
Stopping rhn-search...
Stopped rhn-search.
/etc/init.d/rhn-search: line 65: [: too many arguments
/etc/init.d/rhn-search: line 70: [: too many arguments
Starting rhn-search...

I fixed it by putting quotes around $IDXDIR on lines 65 and 70 thusly:

If [ -z "$IDXDIR" ]

-- 
Greg Wojtak
Senior Unix Systems Engineer
Office: (313) 373-4603
Mobile: (734) 718-8472






On 3/18/13 4:45 AM, "Milan Zazrivec" <[email protected]> wrote:

>> Is there a way to change where rhn-search places it's indexes (ie, from
>> /usr/share/rhn/indexes)?
>
>/etc/rhn/rhn.conf:
>
>search.index_work_dir=...
>
>-MZ
>
>_______________________________________________
>Spacewalk-list mailing list
>[email protected]
>https://www.redhat.com/mailman/listinfo/spacewalk-list


_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to