2 # Copyright 1999-2005 Gentoo Foundation
3 # Distributed under the terms of the GNU General Public License v2
11 if [[ ! -f /etc/siproxd.conf ]]; then
12 eerror "Please create /etc/siproxd.conf first!"
19 check_config || return 1
21 ebegin "Starting siproxd"
22 start-stop-daemon --start --exec /usr/sbin/siproxd -- \
23 -p /var/run/siproxd/siproxd.pid -c /etc/siproxd.conf
28 ebegin "Stopping siproxd"
29 start-stop-daemon --stop --pidfile /var/run/siproxd/siproxd.pid