You are not logged in.

#1 2015-12-12 12:19:09

kowa
Member
Registered: 2015-11-23
Posts: 24

[SOLVED] [systemd] Problem starting emacsclient with systemd

Hi,

I have my system a lot since yesterday.
I run emacs daemon as a service and I have configured emacs in a way that I use frame over window so it is I manage it with my wm i3 which is great.
I had a little problem this morning after a reboot, I can't connect to emacs server...
When I run systemctl status there are two emacs running.
I have restarted the service to see what happened, it doesn't respond.

My systemd file is ok :

[Unit]
Description=Emacs: the extensible, self-documenting text editor

[Service]
Type=forking
ExecStart=/usr/bin/emacs --daemon
ExecStop=/usr/bin/emacsclient --eval "(progn (setq kill-emacs-hook 'nil) (kill-emacs))"
Restart=always
User=%i
WorkingDirectory=~

[Install]
WantedBy=multi-user.target

Last edited by kowa (2015-12-12 14:30:01)

Offline

#2 2015-12-12 14:29:47

kowa
Member
Registered: 2015-11-23
Posts: 24

Re: [SOLVED] [systemd] Problem starting emacsclient with systemd

The problem came from a tentative to load leuven theme in my `.emacs` which fail for un unknown reason...

Offline

Board footer

Powered by FluxBB