Solaris packaing fixed
[public/netxms.git] / contrib / startup / gentoo / nxhttpd
... / ...
CommitLineData
1#!/sbin/runscript
2# Copyright 1999-2006 Gentoo Foundation
3# Distributed under the terms of the GNU General Public License v2
4# $Header: /cvs/nms/contrib/startup/gentoo/nxhttpd,v 1.1 2006-03-08 09:12:22 victor Exp $
5
6depend() {
7 need net
8}
9
10start() {
11 ebegin "Starting NetXMS web interface"
12 eval start-stop-daemon --start --quiet --pidfile /var/run/nxhttpd.pid --exec /usr/local/bin/nxhttpd -- -d -p /var/run/nxhttpd.pid $OPTS
13 eend $?
14}
15
16stop() {
17 ebegin "Stopping NetXMS web interface"
18 start-stop-daemon --stop --quiet --pidfile /var/run/nxhttpd.pid
19 eend $?
20}