mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
320 B

  1. #!/bin/bash
  2. #
  3. # Desc: Pure FTPd
  4. # Runlevel: 61 rcX
  5. #
  6. main_begin
  7. block_begin(start, `Starting PureFTPd.')
  8. check(`D_prefix/sbin/pure-config.pl /etc/pure-ftpd/pure-ftpd.conf')
  9. block_end
  10. block_begin(stop, `Stopping PureFTPd.')
  11. check(`killall D_prefix/sbin/pure-ftpd')
  12. block_end
  13. main_end