legacy-dotfiles/systemd/.config/systemd/user/emacs.socket
Tom Willemse abd841042d 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.
2014-11-24 23:03:54 +01:00

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: