fix vpn host naming
[distro-setup] / subdir_files / .config / systemd / user / emacs.service
1 ## If your Emacs is installed in a non-standard location, you may need
2 ## to copy this file to a standard directory, eg ~/.config/systemd/user/ .
3 ## If you install this file by hand, change the "Exec" lines below
4 ## to use absolute file names for the executables.
5 [Unit]
6 Description=Emacs text editor
7 Documentation=info:emacs man:emacs(1) https://gnu.org/software/emacs/
8
9 [Service]
10 Type=notify
11 ExecStart=/usr/local/bin/emacs --fg-daemon
12 ExecStop=/usr/local/bin/emacsclient --eval "(kill-emacs)"
13 Environment=SSH_AUTH_SOCK=%t/keyring/ssh
14 Restart=on-failure
15
16 [Install]
17 WantedBy=default.target