Koozali.org: home of the SME Server

Create and configure ibay from command line?

Create and configure ibay from command line?
« 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!

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: Create and configure ibay from command line?
« Reply #1 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)

Offline Jean-Philippe Pialasse

  • *
  • 2,763
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com

guest22

Re: Create and configure ibay from command line?
« Reply #3 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.