Quellcode durchsuchen

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>
Hugo Barrera vor 4 Jahren
Ursprung
Commit
5f6db3a077
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  1. 2 1
      contrib/dockerd-rootless-setuptool.sh

+ 2 - 1
contrib/dockerd-rootless-setuptool.sh

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