Koozali.org: home of the SME Server

Obsolete Releases => SME Server 9.x => Topic started by: occasionaltable on November 16, 2016, 03:32:21 PM

Title: Create and configure ibay from command line?
Post by: occasionaltable on November 16, 2016, 03:32:21 PM
Hello,

I'd like to create and configure ibays from the command line (as part of a script). Is this possible, or can ibays only created using the web interface?

Thanks!
Title: Re: Create and configure ibay from command line?
Post by: Stefano on November 16, 2016, 06:47:29 PM
hi..

sure..

something like
Code: [Select]
db accounts set myibay ibay Name 'test ibay' Group admin UserAccess wr-group-rd-everyone CgiBin disabled PasswordSet no SSL disabled PublicAccess none
signal-event ibay-create myibay
will create an ibay mytest with description "test ibay" etc..

you'd create an ibay with the features you need using server-manager, then see the output of
Code: [Select]
db accounts show youribay

and adapt your script according to your needs

BTW, would you mind to share your idea/script? maybe you're trying to do something that is already available (via a contrib, for example)
Title: Re: Create and configure ibay from command line?
Post by: Jean-Philippe Pialasse on March 08, 2017, 11:03:09 PM
for a more complete answer : https://forums.contribs.org/index.php/topic,52938.msg273336.html#msg273336
Title: Re: Create and configure ibay from command line?
Post by: guest22 on March 08, 2017, 11:25:12 PM
Hello,

I'd like to create and configure ibays from the command line (as part of a script). Is this possible, or can ibays only created using the web interface?

Thanks!


Sorry! We must have have been typing both at the same time. Please see the other thread for all considerations.
Thanks.