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:
parent
3c9b4a63b5
commit
5f6db3a077
1 changed files with 2 additions and 1 deletions
|
@ -306,7 +306,8 @@ install_systemd() {
|
|||
LimitCORE=infinity
|
||||
TasksMax=infinity
|
||||
Delegate=yes
|
||||
Type=simple
|
||||
Type=notify
|
||||
NotifyAccess=all
|
||||
KillMode=mixed
|
||||
|
||||
[Install]
|
||||
|
|
Loading…
Reference in a new issue