#!/bin/sh # Starts and stops rpc.mountd # case "$1" in start) ulimit -n 20000 /usr/local/bin/aquila -c /home/aquila -d ;; stop) killall -9 aquila ;; restart) $0 stop $0 start ;; *) echo "Usage: $0 {start|stop|restart}" exit 1 esac