Is it possible to script hestia?

179 Views Asked by At

i'd like to know if it's possible, and how to script Hestia in order to add users, databases, dns and all.

I know this tool to script the installation of hestia. https://gabizz.github.io/hestiacp-scriptline-generator/

But nothing about config. Any ideas?

Best regards. N.

1

There are 1 best solutions below

0
Ashitaka On

You can find all of the commands under this page : https://docs.hestiacp.com/cli_commands/commands.html

e.g -

For adding users:

v-add-user admin2 P4$$w@rD [email protected]

For adding database:

v-add-database admin wordpress_db matt qwerty123

For adding domain:

v-add-dns-domain admin example.com ns1.example.com ns2.example.com '' '' '' '' '' '' yes