Hi Walter,
The "preferred" was of launching Qpopper in standalone mode is
usually whatever method is common on the environment you're using.
For example, on systems that use launchd, a launchd script is the
usual way. You can always copy the script used to launch some other
similar service.
Note that, whichever method you use, you normally want to pass the
command line options using it. For example, to set a configuration
file, non-default port, etc.
At 1:51 PM -0800 1/9/14, Walter Ian Kaye wrote:
Is there a preferred way to launch/autolaunch Qpopper?
A web search turned up suggestions like "just write a shell script"
and the following:
#!/bin/sh
case "$1" in
start)
/usr/local/libexec/qpopper
;;
stop)
killall qpopper
;;
*)
echo "Usage: $(basename $0) (start|stop)" >&2
;;
# chmod a+x /usr/local/etc/rc.d/qpopper.sh
Should I use that?
thanks,
-Walter
--
Randall Gellens
Opinions are personal; facts are suspect; I speak for myself only
-------------- Randomly selected tag: ---------------
Waiter: "Tea or coffee, gentlemen?"
1st customer: "I'll have tea."
2nd customer: "Me, too -- and be sure the glass is clean!"
(Waiter exits, returns)
Waiter: "Two teas. Which one asked for the clean glass?"