Start Emacs as foreground daemon
This commit is contained in:
parent
a25f2c86a8
commit
57f86cf150
|
@ -3,10 +3,11 @@ Description=Emacs Daemon
|
||||||
Requires=ssh-agent.service gpg-agent.service
|
Requires=ssh-agent.service gpg-agent.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=forking
|
ExecStart=/usr/bin/emacs --no-site-file --fg-daemon
|
||||||
ExecStart=/usr/bin/emacs --no-site-file --daemon
|
|
||||||
TimeoutStartSec=30
|
TimeoutStartSec=30
|
||||||
TimeoutStopSec=30
|
TimeoutStopSec=30
|
||||||
|
Restart=always
|
||||||
|
RestartSec=10s
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=default.target
|
WantedBy=default.target
|
||||||
|
|
Loading…
Reference in New Issue