Skip to content

Commit a37df28

Browse files
jaapmarcusScIT-Raphael
authored andcommitted
Add new examples + small changes
1 parent c085b4f commit a37df28

File tree

126 files changed

+279
-33
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

126 files changed

+279
-33
lines changed

bin/v-acknowledge-user-notification

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
#!/bin/bash
22
# info: update user notification
33
# options: USER NOTIFICATION
4-
# labels:
4+
# labels: panel
5+
#
6+
# example: v-acknowledge-user-notification
57
#
68
# The function updates user notification.
79

bin/v-add-dns-domain

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#!/bin/bash
22
# info: add dns domain
3-
# options: USER DOMAIN IP [NS1] [NS2] [NS3] [..] [NS8] [RESTART]
3+
# options: USER DOMAIN IP [NS1] [NS2] [NS3] [NS4] [NS5] [NS6] [NS7] [NS8] [RESTART]
44
# labels: dns
55
#
6-
# example: v-add-dns-domain admin example.com ns1.example.com ns2.example.com yes
6+
# example: v-add-dns-domain admin example.com ns1.example.com ns2.example.com '' '' '' '' '' '' yes
77
#
88
# The function adds DNS zone with records defined in the template. If the exp
99
# argument isn't stated, the expiration date value will be set to next year.

bin/v-add-firewall-ipset

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
# options: NAME [SOURCE] [IPVERSION] [AUTOUPDATE] [FORCE]
44
# labels: hestia
55
#
6+
# example: v-add-firewall-ipset country-nl 'http://ipverse.net/ipblocks/data/countries/nl.zone'
7+
#
68
# The function adds new ipset to system firewall
79

810
#----------------------------------------------------------#

bin/v-add-mail-account

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# options: USER DOMAIN ACCOUNT PASSWORD [QUOTA]
44
# labels: mail
55
#
6-
# example: v-add-mail-account john example.com john P4$$vvOrD
6+
# example: v-add-mail-account user example.com john P4$$vvOrD
77
#
88
# The function add new email account.
99

bin/v-add-remote-dns-host

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,12 @@
44
# labels: dns
55
#
66
# example: v-add-remote-dns-host slave.your_host.com 8083 admin your_passw0rd
7+
#
8+
# example: v-add-remote-dns-host slave.your_host.com 8083 api_key ''
79
#
810
# The function adds remote dns server to the dns cluster.
11+
# As alternative api_key generated on the slave server.
12+
# See v-generate-api-key can be used to connect the remote dns server
913

1014

1115
#----------------------------------------------------------#

bin/v-add-sys-firewall

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
# options: NONE
44
# labels:
55
#
6+
# example: v-add-sys-firewall
7+
#
68
# The script enables firewall
79

810

bin/v-add-sys-quota

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
# options: NONE
44
# labels:
55
#
6+
# example: v-add-sys-quota
7+
#
68
# The script enables filesystem quota on /home partition
9+
# Some kernels do require additional packages to be installed first
710

811

912
#----------------------------------------------------------#

bin/v-add-sys-sftp-jail

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
# options: [RESTART]
44
# labels:
55
#
6+
# example: v-add-sys-sftp-jail yes
7+
#
68
# The script enables sftp jailed environment
79

810

bin/v-add-sys-theme

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,13 @@
33
# options: THEME [MODE] [ACTIVE]
44
# labels: hestia
55
#
6+
# example: v-add-sys-theme myTheme local
7+
#
68
# The function for installing a custom theme or downloading one
79
# from the HestiaCP theme repository.
10+
#
11+
# For more info see https://docs.hestiacp.com/customize_hestia.html
12+
813

914
#----------------------------------------------------------#
1015
# Variable&Function #

bin/v-add-sys-webmail

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
# options: USER DOMAIN [RESTART] [QUIET]
44
# labels: hestia
55
#
6+
# v-add-sys-webmail user domain.com
7+
#
68
# this function adds support for webmail services
79
# to a mail domain.
810

0 commit comments

Comments
 (0)