From: Alexey Sidorov <alex@reutman.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] Старт демона на python
Date: Fri, 09 Feb 2007 14:10:05 +0300
Message-ID: <45CC568D.3050807@reutman.ru> (raw)
In-Reply-To: <45CC5365.7040109@altlinux.org>
Слава Дубровский пишет:
> Здравствуйте.
>
> Есть программка на питоне, которая состоит из самой программы и
> библиотеки. Запускается через python server.py . Программа ищет свою
> библиотеку в той-же директории что и находится сама. Хочу написать
> init.d скрипт. Ни о каких PIDFILE, LOCKFILE программа понятия не имеет.
> Пишу так:
> start_daemon --pidfile "$PIDFILE" --lockfile "$LOCKFILE" --expect-user
> root -- python /usr/lib/easyvz/server.py
>
> И программа не работает, т.к. не может найти библиотеку.
> Вопрос: Как правильно запускать такой сервис?
>
попробуй глянуть всякие mrim и pyicq-t
--
Alexey Sidorov
mailto:alex@reutman.ru
JID: alex@reutman.ru
ICQ: 5052225
next prev parent reply other threads:[~2007-02-09 11:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-09 10:56 Слава Дубровский
2007-02-09 11:10 ` Alexey Sidorov [this message]
2007-02-09 11:12 ` Epiphanov Sergei
2007-02-09 12:12 ` Alexey Morsov
2007-02-09 13:11 ` Слава Дубровский
2007-02-09 13:36 ` Alexey Morsov
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=45CC568D.3050807@reutman.ru \
--to=alex@reutman.ru \
--cc=devel@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
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git