22 lines
491 B
Text
Executable file
22 lines
491 B
Text
Executable file
#!/sbin/openrc-run
|
|
# Copyright 1999-2017 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Id$
|
|
|
|
pidfile="/var/run/biboumi.pid"
|
|
command="/usr/bin/biboumi"
|
|
command_args="${BIBOUMI_CONFIG:-/etc/biboumi/biboumi.cfg}"
|
|
command_user="${BIBOUMI_USER:-jabber}"
|
|
command_background="true"
|
|
extra_commands="reload"
|
|
|
|
depend() {
|
|
use net
|
|
use jabber-server
|
|
}
|
|
|
|
reload() {
|
|
ebegin "Reloading configuration of Biboumi"
|
|
start-stop-daemon -p ${pidfile} -s USR1
|
|
eend $?
|
|
}
|