mirror of
https://github.com/myvesta/vesta
synced 2025-08-21 05:44:08 -07:00
Renamed 'arguments' with 'options'
This commit is contained in:
parent
41da503d92
commit
699015ade1
44 changed files with 44 additions and 44 deletions
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# info: add cron job
|
||||
# arguments: user min hour day month wday command [job]
|
||||
# options: user min hour day month wday command [job]
|
||||
#
|
||||
# The function adds a job to cron daemon. When executing commands, any output
|
||||
# is mailed to user's email if parameter REPORTS is set to 'yes'.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# info: add database
|
||||
# arguments: user db db_user db_password type [host] [encoding]
|
||||
# options: user db db_user db_password type [host] [encoding]
|
||||
#
|
||||
# The function creates the database concatenating username and user_db.
|
||||
# Supported yypes of databases you can get using v_list_sys_config script.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# info: add new database server
|
||||
# arguments: type host port db_user db_password [max_db] [tpl]
|
||||
# options: type host port db_user db_password [max_db] [tpl]
|
||||
#
|
||||
# The function add new database server to the server pool. It supports local
|
||||
# and remote database servers, which is useful for clusters. By adding a host
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# info: add dns domain
|
||||
# arguments: user domain ip [template] [exp] [soa] [ttl]
|
||||
# options: user domain ip [template] [exp] [soa] [ttl]
|
||||
#
|
||||
# The function adds DNS zone with records defined in the template. If the exp
|
||||
# argument isn't stated, the expiration date value will be set to next year.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# info: add dns domain record
|
||||
# arguments: user domain record type value [id]
|
||||
# options: user domain record type value [id]
|
||||
#
|
||||
# The call is used for adding new DNS record. Complex records of TXT, MX and
|
||||
# SRV types can be used by a filling in the 'value' argument. The function also
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# info: change cron job
|
||||
# arguments: user job min hour day month wday command
|
||||
# options: user job min hour day month wday command
|
||||
#
|
||||
# The function is used for changing existing job. It fully replace job
|
||||
# parameters with new one but with same id.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# info: change database user password
|
||||
# arguments: user db_name db_password
|
||||
# options: user db_name db_password
|
||||
#
|
||||
# The function for changing database user password to a database. It uses the
|
||||
# full name of database as argument.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# info: change dns domain expiriation date
|
||||
# arguments: user domain exp
|
||||
# options: user domain exp
|
||||
#
|
||||
# The function of changing the term of expiration domain's registration. The
|
||||
# serial number will be refreshed automatically during update.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# info: change dns domain ip address
|
||||
# arguments: user domain ip
|
||||
# options: user domain ip
|
||||
#
|
||||
# The function for changing the main ip of DNS zone.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# info: change dns domain record
|
||||
# arguments: user domain id record type value
|
||||
# options: user domain id record type value
|
||||
#
|
||||
# The function for changing DNS record.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# info: change dns domain soa record
|
||||
# arguments: user domain soa
|
||||
# options: user domain soa
|
||||
#
|
||||
# The function for changing SOA record. This type of records can not be
|
||||
# modified by v_change_dns_domain_record call.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# info: change dns domain template
|
||||
# arguments: user domain
|
||||
# options: user domain
|
||||
#
|
||||
# The function for changing the template of records. By updating old records
|
||||
# will be removed and new records will be generated in accordance with
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# info: change dns domain ttl
|
||||
# arguments: user domain ttl
|
||||
# options: user domain ttl
|
||||
#
|
||||
# The function for chaning the time to live TTL parameter for all records.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# info: delete cron job
|
||||
# arguments: user job
|
||||
# options: user job
|
||||
#
|
||||
# The function deletes cron job.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# info: delete database
|
||||
# arguments: user database
|
||||
# options: user database
|
||||
#
|
||||
# The function for deleting the database. If database user have access to
|
||||
# another database, he will not be deleted.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# info: delete user databases
|
||||
# arguments: user
|
||||
# options: user
|
||||
#
|
||||
# The function deletes all user databases.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# info: delete database serve
|
||||
# arguments: type host
|
||||
# options: type host
|
||||
#
|
||||
# The function for deleting the database host from vesta configuration. It will
|
||||
# be deleted if there are no databases created on it only.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# info: delite dns domain
|
||||
# arguments: user domain
|
||||
# options: user domain
|
||||
#
|
||||
# The function for deleting DNS domain. By deleting it all records will also be
|
||||
# deleted.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# info: delete dns record
|
||||
# arguments: user domain id
|
||||
# options: user domain id
|
||||
#
|
||||
# The function for deleting a certain record of DNS zone.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# info: delete dns domains
|
||||
# arguments: user
|
||||
# options: user
|
||||
#
|
||||
# The function for deleting all users DNS domains.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# info: get dns domain value
|
||||
# arguments: user domain key
|
||||
# options: user domain key
|
||||
#
|
||||
# The function for getting a certain DNS domain parameter.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# info: list user cron jobs
|
||||
# arguments: user [format]
|
||||
# options: user [format]
|
||||
#
|
||||
# The function for obtaining the list of all users cron jobs.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# info: list database
|
||||
# arguments: user database [format]
|
||||
# options: user database [format]
|
||||
#
|
||||
# The function for obtaining of all database's parameters.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# info: listing data bases
|
||||
# arguments: user [format]
|
||||
# options: user [format]
|
||||
#
|
||||
# The function for obtaining the list of all user's databases.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# info: list database host
|
||||
# arguments: type host [format]
|
||||
# options: type host [format]
|
||||
#
|
||||
# The function for obtaining host's database parameters.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# info: list data base servers
|
||||
# arguments: type [format]
|
||||
# options: type [format]
|
||||
#
|
||||
# The function for obtaining the list of all hosts of the same databases' type.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# info: list dns domain
|
||||
# arguments: user domain [format]
|
||||
# options: user domain [format]
|
||||
#
|
||||
# The function for getting all DNS domain's parameters.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# info: list dns domains
|
||||
# arguments: user [format]
|
||||
# options: user [format]
|
||||
#
|
||||
# The function for obtaining all DNS domains of a user.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# info: list dns template
|
||||
# arguments: template [format]
|
||||
# options: template [format]
|
||||
#
|
||||
# The function for obtaining the DNS template parameters.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# info: list dns templates
|
||||
# arguments: [format]
|
||||
# options: [format]
|
||||
#
|
||||
# The function for obtaining the list of all DNS templates available.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# info: rebuild cron jobs
|
||||
# arguments: user
|
||||
# options: user
|
||||
#
|
||||
# The function rebuilds system cron config file for specified user.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# info: rebuild dns domains
|
||||
# arguments: user
|
||||
# options: user
|
||||
#
|
||||
# The function rebuilds BIND configuration files for all dns domains.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# info: restart cron service
|
||||
# arguments: none
|
||||
# options: none
|
||||
#
|
||||
# The function tells crond service to reread its configuration files.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# info: restart dns service
|
||||
# arguments: none
|
||||
# options: none
|
||||
#
|
||||
# The function tells BIND service to reload dns zone files.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# info: suspend cron job
|
||||
# arguments: user job
|
||||
# options: user job
|
||||
#
|
||||
# The function suspends a certain job of the cron scheduler.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# info: Suspending sys cron jobs
|
||||
# arguments: user
|
||||
# options: user
|
||||
#
|
||||
# The function suspends all user cron jobs.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# info: suspend database
|
||||
# arguments: user database
|
||||
# options: user database
|
||||
#
|
||||
# The function for suspending a certain user database.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# info: suspend databases
|
||||
# arguments: user
|
||||
# options: user
|
||||
#
|
||||
# The function for suspending of all databases of a single user.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# info: suspend dns domain
|
||||
# arguments: user domain
|
||||
# options: user domain
|
||||
#
|
||||
# The function suspends a certain user's domain.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# info: suspend dns domains
|
||||
# arguments: user
|
||||
# options: user
|
||||
#
|
||||
# The function suspends all user's DNS domains.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# info: unuspend cron job
|
||||
# arguments: user job
|
||||
# options: user job
|
||||
#
|
||||
# The function unsuspen certain cron job.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# info: unuspend sys cron
|
||||
# arguments: user
|
||||
# options: user
|
||||
#
|
||||
# The function unsuspends all suspended cron jobs.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# info: unsuspend database
|
||||
# arguments: user database
|
||||
# options: user database
|
||||
#
|
||||
# The function for unsuspending database.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
# info: update databases disk usage
|
||||
# arguments: user
|
||||
# options: user
|
||||
#
|
||||
# The function recalculates disk usage for all user databases.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue