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