mirror of
https://github.com/ksyasuda/rice.git
synced 2024-11-22 03:19:58 -08:00
14 lines
312 B
SYSTEMD
14 lines
312 B
SYSTEMD
|
[Unit]
|
||
|
Description=Emacs text editor
|
||
|
Documentation=info:emacs man:emacs(1) https://gnu.org/software/emacs/
|
||
|
|
||
|
[Service]
|
||
|
Type=forking
|
||
|
ExecStart=/usr/bin/emacs --daemon
|
||
|
ExecStop=/usr/bin/emacsclient --eval "(kill-emacs)"
|
||
|
Environment=SSH_AUTH_SOCK=%t/keyring/ssh
|
||
|
Restart=on-failure
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=default.target
|