summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@datawire.io>2018-11-16 09:32:20 -0500
committerLuke Shumaker <lukeshu@datawire.io>2018-11-16 09:32:20 -0500
commit9de8d2adc32f9f3a404be41cf206b94865146a42 (patch)
tree84505c502bb46d69a15f87f2099b1415df7e2049
parentbe36f3c80ec526301500db455749360f212397eb (diff)
systemd: Use the now-stock emacs.service
l---------.config/systemd/user/default.target.wants/emacs-daemon.service1
l---------.config/systemd/user/default.target.wants/emacs.service1
-rw-r--r--.config/systemd/user/emacs-daemon.service12
3 files changed, 1 insertions, 13 deletions
diff --git a/.config/systemd/user/default.target.wants/emacs-daemon.service b/.config/systemd/user/default.target.wants/emacs-daemon.service
deleted file mode 120000
index e3a3cc0..0000000
--- a/.config/systemd/user/default.target.wants/emacs-daemon.service
+++ /dev/null
@@ -1 +0,0 @@
-../emacs-daemon.service \ No newline at end of file
diff --git a/.config/systemd/user/default.target.wants/emacs.service b/.config/systemd/user/default.target.wants/emacs.service
new file mode 120000
index 0000000..003173b
--- /dev/null
+++ b/.config/systemd/user/default.target.wants/emacs.service
@@ -0,0 +1 @@
+/usr/lib/systemd/user/emacs.service \ No newline at end of file
diff --git a/.config/systemd/user/emacs-daemon.service b/.config/systemd/user/emacs-daemon.service
deleted file mode 100644
index 31aa22e..0000000
--- a/.config/systemd/user/emacs-daemon.service
+++ /dev/null
@@ -1,12 +0,0 @@
-[Unit]
-Description=Emacs deamon
-
-[Service]
-Type=forking
-ExecStart=/usr/bin/env emacs --daemon
-ExecStop=/usr/bin/env emacsclient -a false -e '(kill-emacs)'
-SyslogIdentifier=emacs
-Restart=always
-
-[Install]
-WantedBy=default.target