mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
8abf26dbfb
This change resolves the following systemd warning: ``` /usr/lib/systemd/system/docker.socket:5: ListenStream= references a path below legacy directory /var/run/, updating /var/run/docker.sock → /run/docker.sock; please update the unit file accordingly. ``` Signed-off-by: Wiktor Kwapisiewicz <wiktor@metacode.biz>
14 lines
317 B
SYSTEMD
14 lines
317 B
SYSTEMD
[Unit]
|
|
Description=Docker Socket for the API
|
|
PartOf=docker.service
|
|
|
|
[Socket]
|
|
# If /var/run is not implemented as a symlink to /run, you may need to
|
|
# specify ListenStream=/var/run/docker.sock instead.
|
|
ListenStream=/run/docker.sock
|
|
SocketMode=0660
|
|
SocketUser=root
|
|
SocketGroup=docker
|
|
|
|
[Install]
|
|
WantedBy=sockets.target
|