• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/vsftpd/vsftpd-init
Wade BerrierWade Berrier committed d6b556670c707 Oct 2008
Raw file
Source viewDiff to previous
 
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
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.