Start Emacs as foreground daemon

This commit is contained in:
Daniel - 2019-03-31 19:06:51 +02:00
parent a25f2c86a8
commit 57f86cf150
Signed by: dbo
GPG Key ID: 4F63DB96D45AA9C6
1 changed files with 3 additions and 2 deletions

View File

@ -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