summaryrefslogtreecommitdiff
path: root/net-misc/icingadb/files/icingadb.initd
blob: a98991bcf9dfb9e46ae3b03f4ade57f16f72913d (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/sbin/openrc-run
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

command="/usr/bin/icingadb"
command_background="true"
command_user="icinga"
pidfile="/run/${RC_SVCNAME}.pid"
required_files="/etc/${RC_SVCNAME}/config.yml"
output_log="/var/log/${RC_SVCNAME}/${RC_SVCNAME}.log"
error_log="/var/log/${RC_SVCNAME}/${RC_SVCNAME}.err"