mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05: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:
parent
07c9fef311
commit
6821d80881
2 changed files with 1 additions and 8 deletions
|
@ -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
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
[Unit]
|
||||
After=docker.socket
|
||||
Requires=docker.socket
|
||||
|
||||
[Service]
|
||||
ExecStart=
|
||||
ExecStart=/usr/bin/dockerd -H fd://
|
Loading…
Add table
Reference in a new issue