2021-05-19 09:31:28 +02:00
|
|
|
[Unit]
|
2022-07-14 09:51:09 +02:00
|
|
|
Description=Drone Runner (Docker)
|
2021-05-19 09:31:28 +02:00
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
User=drone-agent
|
|
|
|
Group=docker
|
|
|
|
Type=simple
|
|
|
|
EnvironmentFile=/etc/drone/agent
|
2022-07-14 09:51:09 +02:00
|
|
|
ExecStart=/usr/bin/drone-runner-docker
|
2021-05-19 09:31:28 +02:00
|
|
|
ExecReload=/usr/bin/kill -HUP $MAINPID
|
|
|
|
Restart=on-failure
|
|
|
|
KillSignal=SIGINT
|
|
|
|
LimitNOFILE=8192
|
|
|
|
PrivateDevices=yes
|
|
|
|
DynamicUser=yes
|
|
|
|
ReadWritePaths=/var/run/docker.sock
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|