mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
8fca44e75c
PR: ports/48714 Submitted by: Frank Denis <j@pureftpd.org>
20 lines
254 B
Bash
20 lines
254 B
Bash
#!/bin/sh
|
|
|
|
case "$1" in
|
|
|
|
start)
|
|
if [ -x %%PREFIX%%/bin/plb ]; then
|
|
%%PREFIX%%/bin/plb -B -c %%PREFIX%%/etc/plb.conf && echo -n ' plb'
|
|
fi
|
|
;;
|
|
|
|
stop)
|
|
kill $(cat /var/run/plb.pid)
|
|
rm -f /var/run/plb.pid
|
|
;;
|
|
*)
|
|
echo "$0 start | stop"
|
|
;;
|
|
|
|
esac
|