Культурный офтопик
 help / color / mirror / Atom feed
From: "Dmitriy Kruglikov" <dmitriy.kruglikov@gmail.com>
To: "Культурный офтопик" <smoke-room@lists.altlinux.org>
Subject: Re: [room] halt
Date: Sun, 24 Aug 2008 19:54:36 +0300
Message-ID: <6c7be88d0808240954y23fd578dxbc630bd753bced03@mail.gmail.com> (raw)
In-Reply-To: <200808242121.06427.asy@altlinux.ru>

24 августа 2008 г. 19:21 пользователь Sergey Y. Afonin написал:
>
> echo "java -jar /home/ivan/jmonitor/console.jar -u *** -p *** close" > /etc/rc.d/rc6.d/K90javastop
>
Может и не взлететь ....
Точнее, когда вы его будете тестировать - взлетит,
а когда машинка будет выключаться - не взлетит ...

А вот если вызывать по абсолютному пути, то есть
 "/full/path/java -jar..." то вероятность возрастает многократно ...
Потому как переменные окружения разные будут ...

А еще кузявее указать java в качестве шелл... Но это уже для взрослых пацанов :)

И потом уже можно наводить марафет путем размещения скрипта в
правильном мете ...

-- 
Как правильно задавать вопросы:
http://maddog.sitengine.ru/smart-question-ru.html

Помогает:
http://search.altlinux.org

Best regards,
 Dmitriy L. Kruglikov
 Dmitriy.Kruglikov_at_gmail_dot_com
 DKR6-RIPE
 DKR6-UANIC
 XMPP: Dmitriy.Kruglikov_at_gmail_dot_com

  reply	other threads:[~2008-08-24 16:54 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-22 17:00         ` Ivan Petrov
2008-08-22 17:19           ` Alexei V. Mezin
2008-08-22 17:24             ` Vyatcheslav Perevalov
2008-08-23  2:00             ` Ivan Petrov
2008-08-23 12:54               ` Alexander Yereschenko
2008-08-22 18:04           ` Aleksey Novodvorsky
2008-08-23  1:25             ` Ivan Petrov
2008-08-24 20:02               ` Michael Shigorin
2008-08-22 19:19           ` Denis Kirienko
2008-08-23  1:35             ` Ivan Petrov
2008-08-23  6:56               ` Denis Kirienko
2008-08-22 19:24           ` Michael Pozhidaev
2008-08-22 19:29             ` Alexei V. Mezin
2008-08-22 19:53               ` Michael Pozhidaev
2008-08-23 14:22               ` Вадим Илларионов
2008-08-23 21:08               ` Michael Shigorin
2008-08-22 19:54           ` Sergey Shilov
2008-08-23  1:57             ` Ivan Petrov
2008-08-23 12:48               ` Alexander Yereschenko
2008-08-23 13:04                 ` Dmitriy Kruglikov
2008-08-23 14:15                   ` Вадим Илларионов
2008-08-23 19:11                   ` Maxim Tyurin
2008-08-24  1:26                     ` Денис Смирнов
2008-08-25 15:27                       ` Maxim Tyurin
2008-08-24  8:11                     ` Dmitriy Kruglikov
2008-08-24 13:38                       ` Vyatcheslav Perevalov
2008-08-24 20:06                       ` [room] halt! Michael Shigorin
2008-08-25  9:52                         ` Dmitriy Kruglikov
2008-08-22 20:26           ` [room] halt Denis Kirienko
2008-08-23 13:57             ` Вадим Илларионов
2008-08-23 15:29             ` Ivan Petrov
2008-08-23 16:06               ` Denis Kirienko
2008-08-23 17:07                 ` Ivan Petrov
2008-08-23 20:02                   ` Denis Kirienko
2008-08-24  6:40                     ` Ivan Petrov
2008-08-24  7:36                       ` Denis Kirienko
2008-08-24 16:21               ` Sergey Y. Afonin
2008-08-24 16:54                 ` Dmitriy Kruglikov [this message]
2008-08-24 17:04                   ` Sergey Y. Afonin
2008-08-24 20:00                 ` Michael Shigorin
2008-08-24 20:00               ` Michael Shigorin
2008-08-23 21:08           ` Michael Shigorin
2008-08-24 16:09           ` Sergey Y. Afonin
2008-08-23  9:16         ` Ivan Petrov
2008-08-23  9:29           ` Vyatcheslav Perevalov
2008-08-23  9:29           ` Dmitriy Kruglikov
2008-08-23 15:05             ` Ivan Petrov
2008-08-23 16:12               ` Denis Kirienko
2008-08-23 17:06                 ` Ivan Petrov
2008-08-23 17:48                   ` Denis Kirienko
2008-08-24 16:26                     ` Sergey Y. Afonin

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=6c7be88d0808240954y23fd578dxbc630bd753bced03@mail.gmail.com \
    --to=dmitriy.kruglikov@gmail.com \
    --cc=smoke-room@lists.altlinux.org \
    /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

Культурный офтопик

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/smoke-room/0 smoke-room/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 smoke-room smoke-room/ http://lore.altlinux.org/smoke-room \
		smoke-room@lists.altlinux.org smoke-room@lists.altlinux.ru smoke-room@lists.altlinux.com smoke-room@altlinux.ru smoke-room@altlinux.org smoke-room@altlinux.com
	public-inbox-index smoke-room

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.smoke-room


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git