mirror of
https://git.freebsd.org/ports.git
synced 2025-06-28 16:10:33 -04:00
19 lines
254 B
Bash
19 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
|