2020-09-26 01:30:29 +02:00
|
|
|
[Unit]
|
|
|
|
Description=drone.io docker runner
|
|
|
|
Documentation=https://docs.drone.io/
|
|
|
|
|
|
|
|
After=network.target
|
|
|
|
Requires=network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
User=drone-runner-docker
|
|
|
|
Group=drone-runner-docker
|
|
|
|
|
|
|
|
Environment="RUNNER_CONFIG_FILE=/etc/drone-runner-docker/app.ini"
|
|
|
|
|
|
|
|
ExecStart=drone-runner-docker.sh
|
|
|
|
ExecStop=docker container stop drone-runner
|
2020-10-08 21:14:42 +02:00
|
|
|
ExecStopPost=docker container rm drone-runner
|
2020-09-26 01:30:29 +02:00
|
|
|
|
|
|
|
Restart=on-failure
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|