help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: where to start emacs --deamon in debian?


From: Peter Dyballa
Subject: Re: where to start emacs --deamon in debian?
Date: Sat, 5 Dec 2009 11:09:00 +0100


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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]