Changeset fe88f584 for content/web/proftpd/proftpd-config.xml
- Timestamp:
- 03/28/2004 07:14:54 AM (20 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, v5_1, v5_1-pre1, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- babc75b
- Parents:
- ae9c528
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
content/web/proftpd/proftpd-config.xml
rae9c528 rfe88f584 1 1 <sect2> 2 2 <title>Configuring <application>ProFTPD</application></title> 3 4 <sect3><title>proftpd init.d script</title> 5 <para>Install <filename>/etc/rc.d/init.d/proftpd</filename> 6 init script included in the <xref linkend="intro-important-bootscripts"/> package.</para> 7 8 <screen><userinput><command>make install-proftpd</command></userinput></screen> 9 10 </sect3> 3 11 4 12 <sect3><title>Config files</title> … … 64 72 65 73 66 <sect3><title>proftpd init.d script</title>67 68 <screen><userinput><command>cat > /etc/rc.d/init.d/proftpd << "EOF"</command>69 #!/bin/sh70 # Begin $rc_base/init.d/proftpd71 72 # Based on sysklogd script from LFS-3.1 and earlier.73 # Rewritten by Gerard Beekmans - gerard@linuxfromscratch.org74 75 . /etc/sysconfig/rc76 . $rc_functions77 78 case "$1" in79 start)80 echo "Starting FTP Server..."81 loadproc /usr/sbin/proftpd82 ;;83 84 stop)85 echo "Stopping FTP Server..."86 killproc /usr/sbin/proftpd87 ;;88 89 reload)90 echo "Reloading FTP Server..."91 reloadproc /usr/sbin/proftpd92 ;;93 94 restart)95 $0 stop96 sleep 197 $0 start98 ;;99 100 status)101 statusproc /usr/sbin/proftpd102 ;;103 104 *)105 echo "Usage: $0 {start|stop|reload|restart|status}"106 exit 1107 ;;108 esac109 110 # End $rc_base/init.d/proftpd111 <command>EOF112 chmod 755 /etc/rc.d/init.d/proftpd</command></userinput></screen>113 114 <para>Create the symbolic links to this file in the relevant <filename115 class="directory">rc.d</filename> directories with the following116 commands:</para>117 <screen><userinput><command>cd /etc/rc.d/init.d &&118 ln -sf ../init.d/proftpd ../rc0.d/K28proftpd &&119 ln -sf ../init.d/proftpd ../rc1.d/K28proftpd &&120 ln -sf ../init.d/proftpd ../rc2.d/K28proftpd &&121 ln -sf ../init.d/proftpd ../rc3.d/S32proftpd &&122 ln -sf ../init.d/proftpd ../rc4.d/S32proftpd &&123 ln -sf ../init.d/proftpd ../rc5.d/S32proftpd &&124 ln -sf ../init.d/proftpd ../rc6.d/K28proftpd</command></userinput></screen>125 126 </sect3>127 128 74 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.