The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / vsftpd / S70vsftpd
1 #! /bin/sh
2
3 set -e
4
5 DESC="vsftpd"
6 NAME=vsftpd
7 DAEMON=/usr/sbin/$NAME
8
9 case "$1" in
10   start)
11         echo -n "Starting $DESC: "
12         start-stop-daemon -S -b -x $NAME
13         echo "OK"
14         ;;
15   stop)
16         echo -n "Stopping $DESC: "
17         start-stop-daemon -K -x $NAME
18         echo "OK"
19         ;;
20   restart|force-reload)
21         echo "Restarting $DESC: "
22         $0 stop
23         sleep 1
24         $0 start
25         echo ""
26         ;;
27   *)
28         echo "Usage: $0 {start|stop|restart|force-reload}" >&2
29         exit 1
30         ;;
31 esac
32
33 exit 0