gentoo-overlay/dev-util/drone-runner-docker/files/drone-runner-docker.initd
Manuel Friedli 078e0946e5
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
dev-util/drone-runner-docker: Add ebuild for version 1.8.1
Package-Manager: Portage-3.0.30, Repoman-3.0.3
2022-04-30 23:12:32 +02:00

14 lines
508 B
Text

#!/sbin/openrc-run
# Copyright 2016-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
description="Drone CI Docker Runner"
pidfile=${pidfile:-"/run/${SVCNAME}/${SVCNAME}.pid"}
user=${user:-drone-runner-docker}
group=${group:-drone-runner-docker}
command="/usr/bin/drone-runner-docker daemon"
command_background="true"
start_stop_daemon_args="--user ${user} --group ${group} \
--stdout /var/log/${SVCNAME}/${SVCNAME}.log \
--stderr /var/log/${SVCNAME}/${SVCNAME}.log"