File docker.socket of Package docker.321

[Unit]
Description=Docker Socket for the API
PartOf=docker.service

[Socket]
ListenStream=/var/run/docker.sock
SocketMode=0660
# TODO: Get rid of workaround below after adopting systemd 214+ by oS Factory
# Socket(User|Group) are available as of systemd 214+
#SocketUser=root
#SocketGroup=docker
# Fix owner manually
ExecStartPost=/usr/bin/chown root:docker /var/run/docker.sock

[Install]
WantedBy=sockets.target
openSUSE Build Service is sponsored by