mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-29 21:39:24 +00:00
83121084aa
tables. PR: 25368 Submitted by: Bas Kruit <baskruit@bsltwr.dhis.org>
16 lines
243 B
Bash
16 lines
243 B
Bash
#!/bin/sh
|
|
|
|
case "$1" in
|
|
start)
|
|
[ -x "__PREFIX__/dhis/bin/dhisd" ] && __PREFIX__/dhis/bin/dhisd > /dev/null && echo -n ' dhisd'
|
|
;;
|
|
stop)
|
|
killall dhisd && echo -n ' dhisd'
|
|
;;
|
|
*)
|
|
echo "Usage: `basename $0` {start|stop}" >&2
|
|
;;
|
|
esac
|
|
|
|
exit 0
|