summaryrefslogtreecommitdiff
path: root/net-misc/icingadb/files/icingadb.initd
blob: b5be7999df3856455727464160e38b1b49907f6b (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/sbin/openrc-run
# Copyright 1999-2022 Gentoo Foundation
# 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"