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
-
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!
-
hi..
sure..
something like
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
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)
-
for a more complete answer : https://forums.contribs.org/index.php/topic,52938.msg273336.html#msg273336
-
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.