forked from pool/docker
13 lines
289 B
SYSTEMD
13 lines
289 B
SYSTEMD
|
[Unit]
|
||
|
Description=Docker Socket for the API
|
||
|
PartOf=docker.service
|
||
|
|
||
|
[Socket]
|
||
|
ListenStream=/var/run/docker.sock
|
||
|
SocketMode=0660
|
||
|
# A Socket(User|Group) replacement workaround for systemd <= 214
|
||
|
ExecStartPost=/usr/bin/chown root:docker /var/run/docker.sock
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=sockets.target
|