gentoo-overlay/dev-util/drone/files/drone-server.initd
Manuel Friedli 93d65d3001
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
dev-util/drone: Add systemd-enabled version of the official ebuild.
Package-Manager: Portage-3.0.30, Repoman-3.0.3
2022-04-30 21:57:02 +02:00

15 lines
452 B
Plaintext

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