new reseller package include specified user packages

mta

Verified User
Joined
Apr 17, 2008
Messages
33
Location
Georgia, US
Is there a way I could template reseller packages to include specified user packages without manually copying via the cmdline?

For example, say under user admin's reseller cp I have created the user level packages "Gold," "Silver," "Bronze" and would like now like to create a new reseller package that includes the user level "Gold" package.

Is there any way to do this other than

Code:
cp -a /usr/local/directadmin/data/users/admin/packages/Gold.pkg /usr/local/directadmin/data/users/newreseller/packages/
echo "Gold" >> /usr/local/directadmin/data/users/newreseller/packages.list

etc... ?

Thanks!
 
I dont think so because reseller packages are specific to each reseller.
 
Is there a way I could template reseller packages to include specified user packages without manually copying via the cmdline?

For example, say under user admin's reseller cp I have created the user level packages "Gold," "Silver," "Bronze" and would like now like to create a new reseller package that includes the user level "Gold" package.

There is a way to copy a set of packages automatically.

See http://help.directadmin.com/item.php?id=190. You can adjust it so it will only copy the gold package of course.
 
Back
Top