003 File Manager
Current Path:
/usr/local/etc/rc.d
usr
/
local
/
etc
/
rc.d
/
📁
..
📄
apache24
(5.99 KB)
📄
htcacheclean
(1.69 KB)
📄
mysql-server
(2.16 KB)
📄
php-fpm
(1.18 KB)
📄
proftpd
(661 B)
📄
salt_api
(556 B)
📄
salt_master
(1.15 KB)
📄
salt_minion
(1.14 KB)
📄
salt_proxy
(1.5 KB)
📄
salt_syndic
(576 B)
Editing: proftpd
#!/bin/sh # PROVIDE: proftpd # REQUIRE: DAEMON # BEFORE: LOGIN # KEYWORD: shutdown # # Add the following lines to /etc/rc.conf to enable proftpd: # # proftpd_enable="YES" # proftpd_flags="<set as needed>" # # See proftpd(8) for flags # . /etc/rc.subr name=proftpd rcvar=proftpd_enable load_rc_config $name : ${proftpd_enable:="NO"} : ${proftpd_config:="/usr/local/etc/proftpd.conf"} command=/usr/local/sbin/proftpd command_args="-c ${proftpd_config}" pidfile=$(grep PidFile ${proftpd_config} | awk '{print($2)}') required_files=${proftpd_config} extra_commands="reload" stop_postcmd=stop_postcmd stop_postcmd() { rm -f $pidfile } run_rc_command "$1"
Upload File
Create Folder