rootless: Set service type to `notify`

This mirrors what the non-rootless version does, and lets `systemd` understand
when the service is fully up and running.
`NotifyAccess=all` is required, since the main process is the wrapper script,
and it's the child process that emits the signal.

Signed-off-by: Hugo Osvaldo Barrera <hugo@barrera.io>
This commit is contained in:
Hugo Barrera 2021-02-25 13:38:39 +00:00 committed by Hugo Osvaldo Barrera
parent 3c9b4a63b5
commit 5f6db3a077
1 changed files with 2 additions and 1 deletions

View File

@ -306,7 +306,8 @@ install_systemd() {
LimitCORE=infinity
TasksMax=infinity
Delegate=yes
Type=simple
Type=notify
NotifyAccess=all
KillMode=mixed
[Install]