Ignore:
Timestamp:
2010-07-31T14:26:18+02:00 (6 years ago)
Author:
florian
Message:

[package] pure-ftpd: add init script supporting all options (#7659)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/net/pure-ftpd/files/pure-ftpd.init

    r9325 r22439  
    2929        args="" 
    3030 
    31         append_string "$section" port "-S" 
     31        append_string "$section" trustedgid "-a" 
     32        append_string "$section" syslogfacility "-f" 
     33        append_string "$section" fortunesfile "-F" 
     34        append_string "$section" maxidletime "-I" 
     35        append_string "$section" maxdiskusagepct "-k" 
     36        append_string "$section" limitrecursion "-L" 
     37        append_string "$section" anonymouscancreate "-M" 
     38        append_string "$section" maxload "-m" 
     39        append_string "$section" quota "-n" 
     40        append_string "$section" altlog "-O" 
     41        append_string "$section" passiveportrange "-p" 
     42        append_string "$section" forcepassiveip "-P" 
     43        append_string "$section" anonymousratio "-q" 
     44        append_string "$section" userratio "-Q" 
     45        append_string "$section" anonymousbandwidth "-t" 
     46        append_string "$section" userbandwidth "-T" 
     47        append_string "$section" minuid "-u" 
     48        append_string "$section" trustedip "-V" 
     49        append_string "$section" tls "-Y" 
     50 
     51        append_bool "$section" uploadscript "-o" 
     52        append_bool "$section" natmode "-N" 
     53        append_bool "$section" autorename "-r" 
     54        append_bool "$section" nochmod "-R" 
     55        append_bool "$section" antiwarez "-s" 
     56        append_bool "$section" allowuserfxp "-w" 
     57        append_bool "$section" allowanonymousfxp "-W" 
     58        append_bool "$section" prohibitdotfileswrite "-x" 
     59        append_bool "$section" prohibitdotfilesread "-X" 
     60        append_bool "$section" allowdotfiles "-z" 
     61        append_bool "$section" customerproof "-Z" 
     62        append_bool "$section" anonymouscantupload "-i" 
     63        append_bool "$section" createhomedir "-j" 
     64        append_bool "$section" keepallfiles "-K" 
     65        append_bool "$section" norename "-G" 
     66        append_bool "$section" dontresolve "-H" 
     67        append_bool "$section" verboselog "-d" 
     68        append_bool "$section" displaydotfiles "-D" 
     69        append_bool "$section" anonymousonly "-e" 
     70        append_bool "$section" brokenclientscompatibility "-b" 
     71        append_bool "$section" notruncate "-0" 
     72        append_bool "$section" logpid "-1" 
     73        append_bool "$section" ipv4only "-4" 
     74        append_bool "$section" ipv6only "-6" 
     75 
     76        append_string "$section" bind "-S" 
     77        append_string "$section" login "-l" 
     78 
    3279        append_bool "$section" noanonymous "-E" 
    3380        append_bool "$section" chrooteveryone "-A" 
     
    3683        append_string "$section" peruserlimits "-y" 
    3784        append_string "$section" umask "-U" 
     85 
     86        append_string "$section" port "-S" 
    3887        append_string "$section" authentication "-l" 
     88 
    3989        config_get_bool "enabled" "$section" "enabled" '1' 
    4090        [ "$enabled" -gt 0 ] && $SSD -S -p $PIDF -q -x $PROG -- -g $PIDF -B $args 
Note: See TracChangeset for help on using the changeset viewer.