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
diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/package/vsftpd/S70vsftpd b/cirros-testvm/src-cirros/buildroot-2015.05/package/vsftpd/S70vsftpd
new file mode 100755 (executable)
index 0000000..6048907
--- /dev/null
@@ -0,0 +1,33 @@
+#! /bin/sh
+
+set -e
+
+DESC="vsftpd"
+NAME=vsftpd
+DAEMON=/usr/sbin/$NAME
+
+case "$1" in
+  start)
+       echo -n "Starting $DESC: "
+       start-stop-daemon -S -b -x $NAME
+       echo "OK"
+       ;;
+  stop)
+       echo -n "Stopping $DESC: "
+       start-stop-daemon -K -x $NAME
+       echo "OK"
+       ;;
+  restart|force-reload)
+       echo "Restarting $DESC: "
+       $0 stop
+       sleep 1
+       $0 start
+       echo ""
+       ;;
+  *)
+       echo "Usage: $0 {start|stop|restart|force-reload}" >&2
+       exit 1
+       ;;
+esac
+
+exit 0