Merge pull request #273 from seemethere/sockles

Add socket activation for RHEL based distributions
This commit is contained in:
Andrew Hsu 2018-11-29 22:58:16 -08:00 committed by GitHub
commit a9a8ec7c09
2 changed files with 1 additions and 8 deletions

View file

@ -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

View file

@ -1,7 +0,0 @@
[Unit]
After=docker.socket
Requires=docker.socket
[Service]
ExecStart=
ExecStart=/usr/bin/dockerd -H fd://