From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: Jonas Stein <news@jonasstein.de>
Cc: gnu-emacs-help@ftp.gnu.org
Subject: Re: where to start emacs --deamon in debian?
Date: Sat, 5 Dec 2009 11:09:00 +0100 [thread overview]
Message-ID: <03255AE7-4028-42DF-A5B3-32485C4491D4@Web.DE> (raw)
In-Reply-To: <8crou6-3l4.ln1@news.jonasstein.de>
Am 05.12.2009 um 02:59 schrieb Jonas Stein:
> what is the best way to start emacs --deamon in a debian (testing)
> system?
> Should i put it in a selfmade init script to /etc/init.d or into /
> etc/profiles
> or some elsewhere?
A system file is not the appropriate choice (you won't own the
process). A script which is executed at your (personal) login time is
more suitable – but it must not launch GNU Emacs whenever a login
shell is initiated! This can be achieved by checking before whether
GNU Emacs is running, whether an environment variable is set (set when
GNU Emacs was launched as daemon the first time), whether a semaphore
file exists (created when GNU Emacs was launched as daemon the first
time)...
--
Greetings
Pete
Genius may have its limitations, but stupidity is not thus handicapped.
– Elbert Hubbard
next prev parent reply other threads:[~2009-12-05 10:09 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-05 1:59 where to start emacs --deamon in debian? Jonas Stein
2009-12-05 10:09 ` Peter Dyballa [this message]
2009-12-05 11:00 ` Daniel Dalton
2009-12-06 13:25 ` barriehie
2009-12-06 15:16 ` Richard Riley
[not found] <mailman.12252.1259993777.2239.help-gnu-emacs@gnu.org>
2009-12-05 6:32 ` Teemu Likonen
2009-12-06 0:32 ` Tim X
2009-12-06 0:30 ` Tim X
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=03255AE7-4028-42DF-A5B3-32485C4491D4@Web.DE \
--to=peter_dyballa@web.de \
--cc=gnu-emacs-help@ftp.gnu.org \
--cc=news@jonasstein.de \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).