Anyone Using QPage?
Dave Augustus
davea at support.kcm.org
Mon Oct 3 21:08:19 CEST 2005
I use this one on Centos4(Redhat RHEL4).
#!/bin/sh
#
# Startup for QuickPage
#
# chkconfig: 345 85 15
# description: QuickPage is a client/server software package that
# enables you to send messages to an alphanumeric pager. The client
# accepts a message from the user and forwards it to a server using
# SNPP. The server uses a modem to transmit the message to the
# recipient's paging service using the TAP protocol (also known as the
IXO protocol).
# processname: qpage
# config: /etc/qpage.cf
# Source function library.
. /etc/rc.d/init.d/functions
case "$1" in
start)
echo -n "Starting QuickPage daemon"
/usr/bin/screen -d -m /usr/local/bin/qpage -d -q10
# /usr/local/bin/qpage -d -q10
if [ $? = 0 ]
then
echo_success
else
echo_failure
fi
echo
;;
stop)
echo -n "Stopping QuickPage daemon"
killproc qpage
if [ $? = 0 ]
then
echo_success
else
echo_failure
fi
echo
;;
restart)
$0 stop
$0 start
;;
*)
echo "Usage: /etc/init.d/qpage { start | stop |
restart }"
;;
esac
exit 0
On Fri, 2005-09-30 at 11:55 -0500, Doug Veldhuisen wrote:
>
> Joe:
> If your talking about QuickPage then all you need to do is in
> your /etc/rc.d/rc.local file
> just add a line like this: /usr/local/bin/qpage -q 7
>
> the -q 7 was to search the queue every 7 seconds, qpage -h gives all
> the options.
>
>
> Doug
>
>
>
> At 11:44 AM 9/30/2005, Joe Regular wrote:
> > I've just installed QPage but cannot figure out how to get it to
> > load upon system startup as a deamon. Does anyone have a startup
> > script that they can send me?
> >
> > Thank you,
> > Joe
> >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by:
> > Power Architecture Resource Center: Free content, downloads,
> > discussions,
> > and more. http://solutions.newsforge.com/ibmarch.tmpl
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users
> > ::: Please include Nagios version, plugin version (-v) and OS when
> > reporting any issue.
> > ::: Messages without supporting info will risk being sent
> > to /dev/null
--
Dave Augustus <davea at support.kcm.org>
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list