summaryrefslogtreecommitdiff
path: root/app-admin/conserver/files/conserver.initd-r1
blob: 839aae6825df936ca238646419d9870fe40b12de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/sbin/openrc-run
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

depend() {
	need clock localmount
	use net
}

command="/usr/sbin/conserver"
command_args="-d -L ${CONSERVER_LOG:-/var/log/${RC_SVCNAME}.log} ${CONSERVER_OPTS}"
command_background="true"
pidfile="/run/${RC_SVCNAME}.pid"
required_files="/etc/conserver/${RC_SVCNAME}.cf /etc/conserver/${RC_SVCNAME}.passwd"