The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Post pkgacct

Discussion in 'General Discussion' started by ivankovalenko, Mar 11, 2008.

  1. ivankovalenko

    ivankovalenko Active Member

    Joined:
    Jul 19, 2005
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    Is there by any chance plans to include some post-pkgacct script to let customers themselves deal with packaged version of account? I mean, include in /scripts/pkgacct

    Code:
    --- pkgacct     2007-10-29 11:22:53.000000000 +0300
    +++ pkgacct-new 2008-03-12 01:29:45.000000000 +0300
    @@ -873,6 +873,11 @@
     if ( !$split && !$isinc ) {
         print "pkgacctfile is: ${tarroot}/${prefix}${user}.${archiveext}\n";
     }
    +
    +if (-x '/scripts/postpkgacct') {
    +    system('/scripts/postpkgacct');
    +}
    +
     print "Creating Archive ....";
     if ( !$isinc ) {
         if ($isbackup) {
    
    As it promises it will let first collect statistics on account pacckaging and also will make it easy to include 3rd party backup software to make backups like rsync, cvs or bacula.
     
Loading...

Share This Page