gentoo-overlay/dev-util/drone-runner-docker/files/drone-runner-docker.service
Manuel Friedli cd6b8380be
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is passing
dev-util/drone-runner-docker: Initial add
Package-Manager: Portage-3.0.4, Repoman-3.0.1
2020-09-26 01:30:38 +02:00

21 lines
432 B
Desktop File

[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
ExecStop=docker container rm drone-runner
Restart=on-failure
[Install]
WantedBy=multi-user.target