From 25bb0ea54cc59a9a2e1604d95790dbc54a37376a Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sun, 20 Aug 2023 16:56:35 +0200 Subject: systemd: Add a service for the ‘ec’ daemon MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/systemd/user/ec.service | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .config/systemd/user/ec.service (limited to '.config/systemd/user/ec.service') diff --git a/.config/systemd/user/ec.service b/.config/systemd/user/ec.service new file mode 100644 index 0000000..914c83a --- /dev/null +++ b/.config/systemd/user/ec.service @@ -0,0 +1,13 @@ +[Unit] +Description=Emacs calculator (GUI) +Documentation=info:calc https://www.gnu.org/software/emacs/manual/html_mono/calc.html + +[Service] +Type=forking +ExecStart=/usr/bin/emacs --daemon=ec --init-directory=/home/thomas/.config/ec +ExecStop=/usr/bin/emacsclient -s ec -e '(kill-emacs)' +Environment=XDG_CONFIG_HOME=/home/thomas/.config +Restart=no + +[Install] +WantedBy=default.target -- cgit v1.2.3