diff options
author | CoprDistGit <infra@openeuler.org> | 2024-08-05 01:57:42 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-08-05 01:57:42 +0000 |
commit | a172203aafb28686396fd736a324bfe74e2af446 (patch) | |
tree | b56cda9073367b16604dbdd66fcd12923a99f441 /emacs.service | |
parent | dfe2c51103d085171131eaadb7ae2a9686ea929c (diff) |
automatic import of emacsopeneuler24.03_LTS
Diffstat (limited to 'emacs.service')
-rw-r--r-- | emacs.service | 11 |
1 files changed, 11 insertions, 0 deletions
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 |