diff options
author | Tom Willemse | 2014-04-30 09:19:12 +0200 |
---|---|---|
committer | Tom Willemse | 2014-04-30 09:19:12 +0200 |
commit | 1d141b7bb678067bbf7a3467ee8817c9e2da86f1 (patch) | |
tree | a65fb3a55c934d2cf29225e246ce6ed2a62f1bdf /.config/systemd/user/emacs.service | |
download | systemd-1d141b7bb678067bbf7a3467ee8817c9e2da86f1.tar.gz systemd-1d141b7bb678067bbf7a3467ee8817c9e2da86f1.zip |
Initial commit
Diffstat (limited to '.config/systemd/user/emacs.service')
-rw-r--r-- | .config/systemd/user/emacs.service | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/.config/systemd/user/emacs.service b/.config/systemd/user/emacs.service new file mode 100644 index 0000000..d611118 --- /dev/null +++ b/.config/systemd/user/emacs.service @@ -0,0 +1,11 @@ +[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 |