SHA256
1
0
forked from pool/docker
docker/docker_systemd_lt_214.socket

13 lines
289 B
SYSTEMD
Raw Normal View History

[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