|
|
ru.unix.bsd- RU.UNIX.BSD ------------------------------------------------------------------ From : Eugene Grosbein 2:5006/1 30 Mar 2001 10:17:49 To : val@sqdp.trc-net.co.jp Subject : Re: named падает. :-( -------------------------------------------------------------------------------- >>>$ man init >>> >>> Init can also be used to keep arbitrary daemons running, automatically ^^^^^^^ >>> restarting them if they die. In this case, the first field in the >>> ttys(5) file must not reference the path to a configured device node and >>> will be passed to the daemon as the final argument on its command line. >>> This is similar to the facility offered in the AT&T System V UNIX >>> /etc/inittab. >> >>А пркатически как это без скриптов применять? >>Такой вариант не работает, пускает sendmail пачками. >> >>-bd /usr/sbin/sendmail unknown on > >$ man sendmail > > -bD Same as -bd except runs in foreground. Я как-то считал, что daemon по умолчанию в background уходит и по ману выходило, что init обладает достаточным интеллектом чтобы поднимать именно _демонов_, а не foreground процессы. Жаль, не все умеют работать в foreground и без скриптов не обойтись. Eugene -- "Люди забыли эту истину," - сказал Лис, - "но ты не забывай" --- slrn/0.9.6.2 (FreeBSD) * Origin: SVZ-Service (2:5006/1@fidonet) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix.bsd/26093daf249dc.html, оценка из 5, голосов 10
|