From a172203aafb28686396fd736a324bfe74e2af446 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 5 Aug 2024 01:57:42 +0000 Subject: automatic import of emacs --- emacs.service | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 emacs.service (limited to 'emacs.service') diff --git a/emacs.service b/emacs.service new file mode 100644 index 0000000..d611118 --- /dev/null +++ b/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 -- cgit v1.2.3