Re: [systemd-devel] Kill on console works, ExecStop not

2015-08-12 Thread Colin Guthrie
Florian Lindner wrote on 12/08/15 15:47: > Hello, > > I have a systemd 224 user service unit that starts the emacs daemon: > > [Unit] > Description=Emacs: the extensible, self-documenting text editor > > [Service] > Type=forking > ExecStart=/usr/bin/emacs --daemon > ExecStop=/usr/bin/emacsclient

[systemd-devel] Kill on console works, ExecStop not

2015-08-12 Thread Florian Lindner
Hello, I have a systemd 224 user service unit that starts the emacs daemon: [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))" Rest