![](https://seccdn.libravatar.org/avatar/a1c54d21856131c6fa715ea2ae599137.jpg?s=120&d=mm&r=g)
Hola quiero configurar el vsftpd para que arranque standalone. Alguien conoce algún lugar en donde haya un script de ejemplo? Se que está el skeleton, pero la verdad, necesito hacerlo rápido y me parece un tanto complicado. Muchas gracias. ===== Sergio Belkin¿Se imagina si su Software fuera Libre? Correo Yahoo! - 6 MB, tecnología antispam ¡gratis! Suscribite ya http://correo.yahoo.com.ar/
![](https://seccdn.libravatar.org/avatar/f9f66464db78ceec32abfc4e1514d718.jpg?s=120&d=mm&r=g)
Sergio Belkin wrote:
Hola quiero configurar el vsftpd para que arranque standalone. Alguien conoce algún lugar en donde haya un script de ejemplo? Se que está el skeleton, pero la verdad, necesito hacerlo rápido y me parece un tanto complicado. Muchas gracias.
===== Sergio Belkin¿Se imagina si su Software fuera Libre?
Correo Yahoo! - 6 MB, tecnología antispam ¡gratis! Suscribite ya http://correo.yahoo.com.ar/
Yo tengo eso mismo en mis tareas pendientes. Tenía idea de copiarlo del que traía SuSE en la 8.0 (o anteriores) cuando utilizaba el proFTP y traía uno de esos scripts. Si tienes prisa, puedes prescindir del script lanzando vsftpd "a pelo". En el archivo /etc/vsftpd.conf indicas que quieres lanzarlo como demonio (creo que es al final del todo) y lanzas el demonio como root en background (vsftd &) PD.: Estoy viendo el baloncesto y se os resisten los helenos ... ;-) A por ellos
![](https://seccdn.libravatar.org/avatar/a1c54d21856131c6fa715ea2ae599137.jpg?s=120&d=mm&r=g)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 El Jueves 26 Agosto 2004 5:42 PM, Luis escribió:
Lu Si tienes prisa, puedes prescindir del script lanzando vsftpd "a pelo". Lu En el archivo /etc/vsftpd.conf indicas que quieres lanzarlo como demonio Lu (creo que es al final del todo) y lanzas el demonio como root en Lu background (vsftd &) gracias Luis , si alguien un script de inicio para el vsftpd sería de mucha ayuda. Sergio Belkin
- ------------------------------------------------------------------------ Visite www.solar.org.ar Software Libre Argentina Baje el manual para nuevos usuarios de GNU/Linux de http://www.solar.org.ar/article.php3?id_article=28 - -------------------------------------------------------- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBO6CXOPxl5bTbF4ARAsmPAKCpdmzBLwNjDwBkQdKByGoWIqYjvgCfVayD kfkr+XjHPoFKaERB11gSrNM= =bUjS -----END PGP SIGNATURE-----
![](https://seccdn.libravatar.org/avatar/7f8a10a160d500cbaedb109ca700d1de.jpg?s=120&d=mm&r=g)
*This message was transferred with a trial version of CommuniGate(tm) Pro* -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 El Lunes, 6 de Septiembre de 2004 01:26, sebelk escribió:
gracias Luis , si alguien un script de inicio para el vsftpd sería de mucha ayuda. Sergio Belkin --
* Esto deberia valer * Verifica las rutas al binario que no lo tengo instalado. ################# /etc/init.d/vsftpd ##################### #! /bin/sh # init.d/vsftpd # # System startup script for the vsftpd daemon # ### BEGIN INIT INFO # Provides: vsftpd # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 3 5 # Default-Stop: 0 1 2 6 # Description: Start the vsftpd server daemon ### END INIT INFO VSFTPD_BIN=/usr/sbin/vsftpd test -x $VSFTPD_BIN || exit 5 # Shell functions sourced from /etc/rc.status: # rc_check check and set local and overall rc status # rc_status check and set local and overall rc status # rc_status -v ditto but be verbose in local rc status # rc_status -v -r ditto and clear the local rc status # rc_failed set local and overall rc status to failed # rc_failed <num> set local and overall rc status to <num><num> # rc_reset clear local rc status (overall remains) # rc_exit exit appropriate to overall rc status . /etc/rc.status rc_reset case "$1" in start) echo -n "Arrancando el servidor vsftpd:" /sbin/startproc $VSFTPD_BIN --daemon rc_reset case "$1" in start) echo -n "Arrancando el servidor vsftpd:" /sbin/startproc $VSFTPD_BIN --daemon rc_status -v ;; stop) echo -n "Parando el servidor vsftpd:" /sbin/killproc -TERM $VSFTPD_BIN rc_status -v ;; try-restart) $0 status >/dev/null && $0 restart rc_status ;; restart) $0 stop $0 start rc_status ;; force-reload) echo -n "Forzando la recarga del servicio vsftpd:" /sbin/killproc -HUP $VSFTPD_BIN /sbin/killproc -HUP $VSFTPD_BIN rc_status -v ;; reload) echo -n "Recargando servicio vsftpd:" /sbin/killproc -HUP $VSFTPD_BIN rc_status -v ;; status) echo -n "Comprobando el estado del servicio vsftpd: " checkproc $VSFTPD_BIN rc_status -v ;; *) echo "Usage: $0 {start|stop|status|try-restart|restart|force-reload|reload}" exit 1 ;; esac rc_exit ########################### FIN #################### -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQFBPMWFAXFL65CppEIRAjutAJ9PBcZ6Hk9Uhp4HSB+gLnns8pXslwCgiDRz UjCY5IDTsbJzVphTBIUxu+8= =PEeQ -----END PGP SIGNATURE-----
participants (4)
-
jose maria
-
Luis
-
sebelk
-
Sergio Belkin