Tom Willemse
abd841042d
By starting Emacs on-demand rather than on login we can carry over the environment variables available when the emacs daemon is actually started. Provided they've been imported by systemd.
15 lines
214 B
SYSTEMD
15 lines
214 B
SYSTEMD
[Unit]
|
|
Description=Emacs Socket
|
|
Conflicts=emacs.service
|
|
|
|
[Socket]
|
|
ListenStream=/tmp/emacs%U/server
|
|
SocketMode=0700
|
|
DirectoryMode=0700
|
|
|
|
[Install]
|
|
WantedBy=sockets.target
|
|
|
|
# Local Variables:
|
|
# mode: conf-unix
|
|
# End:
|