2020-06-08 21:01:17 +00:00
|
|
|
[Service]
|
2020-06-24 00:17:33 +00:00
|
|
|
ExecStart=@runtimeShell@ -l -c "@emacs@/bin/emacs --fg-daemon='%t/emacs/server'"
|
2021-05-30 02:40:58 +00:00
|
|
|
ExecStartPost=@coreutils@/bin/chmod --changes -w %t/emacs
|
|
|
|
ExecStopPost=@coreutils@/bin/chmod --changes +w %t/emacs
|
2020-06-08 21:01:17 +00:00
|
|
|
Restart=on-failure
|
2021-05-23 20:24:30 +00:00
|
|
|
SuccessExitStatus=15
|
|
|
|
Type=notify
|
2020-06-08 21:01:17 +00:00
|
|
|
|
|
|
|
[Unit]
|
2021-05-23 20:24:30 +00:00
|
|
|
Description=Emacs text editor
|
2020-06-08 21:01:17 +00:00
|
|
|
Documentation=info:emacs man:emacs(1) https://gnu.org/software/emacs/
|
2021-05-23 20:24:30 +00:00
|
|
|
RefuseManualStart=true
|
2020-06-08 21:01:17 +00:00
|
|
|
X-RestartIfChanged=false
|