I've changed the proftp maxclients settings in /etc/proftp.conf. I would like to change the default used when building this file so that when the file is rebuilt, the customer does not call back as their workflow has been broken. It seems this file is being replaced or rewritten when cpanel updates. The last time proftp.conf was overwritten was Aug 28 00:44 and upcp runs at 00:41.
Given how cpanel works I was sure there would be a way to define the template for the vhosts used in the config file. And I know if I can't find the template, I could cron an SED replacement, but that seems rather gimmicky.
Looking in /scripts/rebuildproftpd we see pulls the template via:
Cpanel::Template::Ftp::getftptemplate( 'stdvhost', 'proftpd', $domain, $ip, $user, $homedir )
I don't thing the source for Cpanel::Template::Ftp::getftptemplate is visible to me. So based upon that info, can any of you gurus tell me where can I find/create/modify this template and replace the defaults?
Given how cpanel works I was sure there would be a way to define the template for the vhosts used in the config file. And I know if I can't find the template, I could cron an SED replacement, but that seems rather gimmicky.
Looking in /scripts/rebuildproftpd we see pulls the template via:
Cpanel::Template::Ftp::getftptemplate( 'stdvhost', 'proftpd', $domain, $ip, $user, $homedir )
I don't thing the source for Cpanel::Template::Ftp::getftptemplate is visible to me. So based upon that info, can any of you gurus tell me where can I find/create/modify this template and replace the defaults?