Add emacs.socket

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.
This commit is contained in:
Tom Willemse 2014-11-24 23:03:54 +01:00
parent 34c361cc66
commit abd841042d

View file

@ -0,0 +1,15 @@
[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: