about summary refs log tree commit diff stats
path: root/systemd/user
diff options
context:
space:
mode:
authorCase Duckworth2022-01-02 10:26:29 -0600
committerCase Duckworth2022-01-02 10:27:17 -0600
commitf505c9556cea98c64fd13da4d433a1ba4637cfb6 (patch)
treeab3840b455a7779ee5306b91ea850d1ae66f0c72 /systemd/user
parentAdd README.org (diff)
downloadetc-f505c9556cea98c64fd13da4d433a1ba4637cfb6.tar.gz
etc-f505c9556cea98c64fd13da4d433a1ba4637cfb6.zip
Add emacs.service
Diffstat (limited to 'systemd/user')
-rw-r--r--systemd/user/emacs.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/systemd/user/emacs.service b/systemd/user/emacs.service new file mode 100644 index 0000000..6a333d4 --- /dev/null +++ b/systemd/user/emacs.service
@@ -0,0 +1,12 @@
1[Unit]
2Description=Emacs text editor
3Documentation=info:emacs man:emacs(1) https://gnu.org/software/emacs/
4
5[Service]
6Type=forking
7ExecStart=/usr/bin/emacs --daemon
8ExecStop=/usr/bin/emacsclient --eval "(kill-emacs)"
9Restart=on-failure
10
11[Install]
12WantedBy=default.target \ No newline at end of file