[Service] ExecStart=@runtimeShell@ -l -c "@emacs@/bin/emacs --fg-daemon='%t/emacs/server'" Restart=on-failure SuccessExitStatus=15 Type=notify [Unit] Description=Emacs text editor Documentation=info:emacs man:emacs(1) https://gnu.org/software/emacs/ RefuseManualStart=true X-RestartIfChanged=false