15 lines
452 B
Text
15 lines
452 B
Text
|
#!/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"
|