gentoo-overlay/dev-util/drone-runner-docker/files/drone-runner-docker.service
Manuel Friedli c0878d8e3d dev-util/drone-runner-docker: Fixes #66
Package-Manager: Portage-3.0.8, Repoman-3.0.2
2020-11-14 19:59:56 +01:00

23 lines
481 B
Desktop File

[Unit]
Description=drone.io docker runner
Documentation=https://docs.drone.io/
After=docker.service
After=network.target
Requires=docker.service
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