gentoo-overlay/dev-util/drone-runner-docker/files/drone-runner-docker.service
Manuel Friedli b266837abe
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
dev-util/drone-runner-docker: Add fixed .service file.
Package-Manager: Portage-3.0.4, Repoman-3.0.1
2020-10-08 21:14:42 +02:00

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