diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-01-06 13:22:47 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-01-06 13:22:47 -0500 |
commit | 952768c46ae11e0bb1cb01f527153f6cd2d9ba62 (patch) | |
tree | 520c1c6f54a31919e63bf76c03f1932deb56119a /.config/systemd/user/emacs-daemon.service | |
parent | 9472425275b9cfbaa99301621c338faa5e0a61f6 (diff) |
clean up systemd configuration
Diffstat (limited to '.config/systemd/user/emacs-daemon.service')
-rw-r--r-- | .config/systemd/user/emacs-daemon.service | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/.config/systemd/user/emacs-daemon.service b/.config/systemd/user/emacs-daemon.service new file mode 100644 index 0000000..279d83a --- /dev/null +++ b/.config/systemd/user/emacs-daemon.service @@ -0,0 +1,10 @@ +[Unit] +Description=Emacs deamon + +[Service] +Type=forking +ExecStart=/bin/bash -l -c 'emacs --daemon' +ExecStop=/bin/bash -l -c 'emacsclient -e "(kill-emacs)"' + +[Install] +WantedBy=default.target |