From: Michael Shigorin <mike@osdn.org.ua> To: ALT Linux Community general discussions <community@lists.altlinux.org> Subject: Re: [Comm] свой init скрипт Date: Fri, 18 Jul 2008 10:58:48 +0300 Message-ID: <20080718075848.GG25971@osdn.org.ua> (raw) In-Reply-To: <99785b730807180053s61eea4cbsdbe6866cdffadf03@mail.gmail.com> On Fri, Jul 18, 2008 at 10:53:24AM +0300, Yury Konovalov wrote: > > > > > > Что я делаю не так ?! :'-( > > > > > 99. По алфавиту 99halt исполняется раньше (h < s). > > > > Неправильно. > > > Правильно. А /var/lock/subsys/script - это из другой совсем > > > оперы, это для stop_daemon, который сам из скрипта вызывается > > > уже потом. Может, оно и не нужно совсем в данном случае. > > И ещё не забыть chkconfig add мойинитскрипт :) > В общем цифры 99 и 01 означают, что скрипт должен запускаться в > последнюю очередь и останавливаться в первую. Эээ... ага. > Так что у меня все верно было. В результате сделал создание > пустышки в качестве лок файла и удаление его при останове, все > заработало. Про то, что я делал chkconfig add script, я писал в > первом письме. Сорри, не заметил :) > Всем спасибо, проблема решена!!! -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/
next prev parent reply other threads:[~2008-07-18 7:58 UTC|newest] Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-07-18 5:57 Yury Konovalov 2008-07-18 6:45 ` Sergey 2008-07-18 6:58 ` Alexey I. Froloff 2008-07-18 7:27 ` Sergey 2008-07-18 7:48 ` Michael Shigorin 2008-07-18 7:53 ` Yury Konovalov 2008-07-18 7:58 ` Michael Shigorin [this message] 2008-07-18 9:16 ` Mikhail Kuligin 2008-07-18 9:19 ` Alexey I. Froloff 2008-07-18 9:25 ` Yury Konovalov 2008-07-18 7:56 ` Sergey 2008-07-18 9:01 ` Yury Konovalov 2008-07-19 17:19 ` Sergey 2008-07-18 8:00 ` Sergey 2008-07-18 7:02 ` Alexey I. Froloff
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20080718075848.GG25971@osdn.org.ua \ --to=mike@osdn.org.ua \ --cc=community@lists.altlinux.org \ --cc=shigorin@gmail.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git