diff options
Diffstat (limited to 'sysemd/.config/systemd/user/emacs.service')
-rw-r--r-- | sysemd/.config/systemd/user/emacs.service | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sysemd/.config/systemd/user/emacs.service b/sysemd/.config/systemd/user/emacs.service new file mode 100644 index 0000000..5436721 --- /dev/null +++ b/sysemd/.config/systemd/user/emacs.service @@ -0,0 +1,12 @@ +# -*- mode: conf-unix; -*- +[Unit] +Description=Emacs: the extensible, self-documenting text editor + +[Service] +Type=forking +ExecStart=/usr/bin/emacs --daemon +ExecStop=/usr/bin/emacsclient --eval "(kill-emacs)" +Restart=always + +[Install] +WantedBy=default.target |