Компьютерный форум OSzone.net  

Компьютерный форум OSzone.net (http://forum.oszone.net/index.php)
-   Общий по Linux (http://forum.oszone.net/forumdisplay.php?f=9)
-   -   Автозапуск Sphinx в Gentoo (http://forum.oszone.net/showthread.php?t=169151)

numismad 04-03-2010 12:17 1361085

Автозапуск Sphinx в Gentoo
 
Здравствуйте!
Прошу помощи решить проблему

если добавить строку в rc.local
/usr/bin/searchd --config /etc/sphinx/sphinx.conf
сервер после старта не подымается

есть еще в /etc/conf.d/
файл local
с содержимым:
# Here is where you can put anything you need to start
# that there is not an init script for.

local_start() {
# This is a good place to load any misc programs
# on startup (use &>/dev/null to hide output)

# We should always return 0
return 0
}

local_stop() {
# This is a good place to unload any misc.
# programs you started above.

# We should always return 0
return 0
}

и local.stop
с содержимым:
# /etc/conf.d/local.stop

# This is a good place to unload any misc.
# programs you started above.
# For example, if you are using OSS and have
# "/usr/local/bin/soundon" above, put
# "/usr/local/bin/soundoff" here.

echo "/dev/simfs / reiserfs rw,usrquota,grpquota 0 0" > /etc/mtab


как прописать грамотно строку /usr/bin/searchd --config /etc/sphinx/sphinx.conf
подскажите пожалуйста


Время: 01:10.

Время: 01:10.
© OSzone.net 2001-