1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

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

View file

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