mirror of
https://git.zavage.net/Zavage-Software/zavage-gitea-runner.git
synced 2024-11-22 03:50:26 -07:00
14 lines
308 B
SYSTEMD
14 lines
308 B
SYSTEMD
|
[Unit]
|
||
|
Description=Docker service (roootless)
|
||
|
After=network.target dbus.service
|
||
|
|
||
|
[Service]
|
||
|
ExecStart=/usr/bin/dockerd-rootless.sh
|
||
|
Restart=always
|
||
|
Environment=DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/%U/bus
|
||
|
# Environment=DOCKER_SOCKET=unix:path=/run/user/%U/docker.sock
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=default.target
|
||
|
|