mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
Add socket activation for RHEL based distributions
Removes the systemd drop-in unit file for socket activation and instead prefers socket activation by default for both RHEL based and DEBIAN based distributions. Socket activation for RHEL based distributions was tested on CentOS 7 and Fedora 28. Signed-off-by: Eli Uriegas <eli.uriegas@docker.com>
This commit is contained in:
@@ -10,7 +10,7 @@ Type=notify
|
||||
# the default is not to use systemd for cgroups because the delegate issues still
|
||||
# exists and systemd currently does not support the cgroup feature set required
|
||||
# for containers run by docker
|
||||
ExecStart=/usr/bin/dockerd
|
||||
ExecStart=/usr/bin/dockerd -H fd://
|
||||
ExecReload=/bin/kill -s HUP $MAINPID
|
||||
TimeoutSec=0
|
||||
RestartSec=2
|
||||
|
||||
Reference in New Issue
Block a user