service gridftp
{
    port = 2811
    instances = 100
    log_level = 0
    env = GLOBUS_LOCATION=@prefix@
    env += PATH=@conf_sbindir@:@conf_bindir@
    @libdir_line@
#   might need additional envs for security

    server = @conf_sbindir@/globus-gridftp-server
    server_args = -i -aa -l @conf_localstatedir@/log/gridftp.log
    server_args += -d WARN -c @conf_sysconfdir@/gridftp.conf
    nice = -20
    master = @conf_sbindir@/gfs-gfork-master
    master_args = -G y
    master_args += -l @conf_localstatedir@/log/gridftp-master.log

#   undoc the following for memory limiting
#   master_args += -m
}
