all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tim X <timx@nospam.dev.null>
To: help-gnu-emacs@gnu.org
Subject: Re: where to start emacs --deamon in debian?
Date: Sun, 06 Dec 2009 11:30:39 +1100	[thread overview]
Message-ID: <87skbp9c5s.fsf@lion.rapttech.com.au> (raw)
In-Reply-To: mailman.12252.1259993777.2239.help-gnu-emacs@gnu.org

Jonas Stein <news@jonasstein.de> writes:

> Hi 
> 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?
>
> kind regards,
> Jonas
>
>

don't do it as a /etc/init.d script. This overly complicates things and
buys you very little. Remember that emacs daemon mode is not designed to
be a multi-user daemon, its a user daemon. 

My advice would be to put it in your ~/.bash_profile or ~/profile or
whatever script is run by your shell when you login. Another
alternative, if you run X, wold be to put it in your X startup script
(depends on what X environment your running). Just ensure your code
checks to make sure its not already running before you start it.

I find all such setups more hassle to setup and maintain than benefits
they provide. I just use emacsclient when I want an emacs
frame and have it setup such that if emacs is not running, it will start
it up in daemon mode. I'm runing the CVS version and this seems to be
the efault behavior anyway, but I'm not sure if that is also the case
with the released version.

Tim

-- 
tcross (at) rapttech dot com dot au


  parent reply	other threads:[~2009-12-06  0:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.12252.1259993777.2239.help-gnu-emacs@gnu.org>
2009-12-05  6:32 ` where to start emacs --deamon in debian? Teemu Likonen
2009-12-06  0:32   ` Tim X
2009-12-06  0:30 ` Tim X [this message]
2009-12-05  1:59 Jonas Stein
2009-12-05 10:09 ` Peter Dyballa
2009-12-05 11:00 ` Daniel Dalton
2009-12-06 13:25 ` barriehie
2009-12-06 15:16   ` Richard Riley

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=87skbp9c5s.fsf@lion.rapttech.com.au \
    --to=timx@nospam.dev.null \
    --cc=help-gnu-emacs@gnu.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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.