#!/bin/bash # # /etc/rc.d/services/proftpd.service - proftpd(8) service file # case "$1" in start) /usr/sbin/proftpd ;; stop) killall -q /usr/sbin/proftpd ;; *) echo "usage: $0 start|stop" ;; esac # EOF