Colin Powell преди 6 години
родител
ревизия
a1d1aab0fa
променени са 2 файла, в които са добавени 12 реда и са изтрити 0 реда
  1. 1 0
      systemd/.config/systemd/user/default.target.wants/emacs.service
  2. 11 0
      systemd/.config/systemd/user/emacs.service

+ 1 - 0
systemd/.config/systemd/user/default.target.wants/emacs.service

@@ -0,0 +1 @@
+/home/powellc/.config/systemd/user/emacs.service

+ 11 - 0
systemd/.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