By reinstalling arch on my laptop, I've had the chance to see any loose ends or errors in my setup that, by virtue of how fresh the system is, I'm motivated to fix.
13 lines
234 B
Desktop File
13 lines
234 B
Desktop File
[Unit]
|
|
Description=Emacs
|
|
|
|
[Service]
|
|
Type=forking
|
|
ExecStart=/usr/bin/emacs --bg-daemon=MAIN
|
|
ExecStop=/usr/bin/emacsclient --socket-name=MAIN --eval "(kill-emacs)"
|
|
Restart=on-failure
|
|
TimeoutStartSec=0
|
|
|
|
[Install]
|
|
WantedBy=default.target
|