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:
parent
34c361cc66
commit
abd841042d
1 changed files with 15 additions and 0 deletions
15
systemd/.config/systemd/user/emacs.socket
Normal file
15
systemd/.config/systemd/user/emacs.socket
Normal 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:
|
Loading…
Reference in a new issue