Guest User

Untitled

a guest
Jan 16th, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. [Unit]
  2. Description=Emacs text editor
  3. Documentation=info:emacs man:emacs(1) https://gnu.org/software/emacs/
  4. After=ssh-agent.service
  5.  
  6. [Service]
  7. Type=simple
  8. ExecStart=/usr/bin/emacs --fg-daemon
  9. ExecStop=/usr/bin/emacsclient --eval "(kill-emacs)"
  10. Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket
  11. Restart=on-failure
  12.  
  13. [Install]
  14. WantedBy=default.target
Add Comment
Please, Sign In to add comment