Skip to content

Commit 371f3cf

Browse files
author
bisubus
committed
Fix script examples and remove useless
1 parent cdcc44b commit 371f3cf

18 files changed

+14
-23
lines changed

bin/v-add-cron-job

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# options: USER MIN HOUR DAY MONTH WDAY COMMAND [JOB] [RESTART]
44
# labels:
55
#
6-
# example: v-add-cronjob admin * * * * * sudo /usr/local/hestia/bin/v-backup-users
6+
# example: v-add-cron-job admin * * * * * sudo /usr/local/hestia/bin/v-backup-users
77
#
88
# The function adds a job to cron daemon. When executing commands, any output
99
# is mailed to user's email if parameter REPORTS is set to 'yes'.

bin/v-add-cron-letsencrypt-job

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
# options: NONE
44
# labels:
55
#
6-
# example: v-add-letsencrypt-job
7-
#
86
# The script for enabling letsencrypt cronjob
97

108

bin/v-add-mail-account-autoreply

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# options: USER DOMAIN ACCOUNT MESSAGE
44
# labels: mail
55
#
6-
# example: v-add-mail-account-autreply admin example.com user Hello from e-mail!
6+
# example: v-add-mail-account-autoreply admin example.com user Hello from e-mail!
77
#
88
# The function add new email account.
99

bin/v-change-sys-hestia-ssl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# options: SSL_DIR [RESTART]
44
# labels: panel
55
#
6-
# example: v-change-hestia-ssl /home/new/dir/path yes
6+
# example: v-change-sys-hestia-ssl /home/new/dir/path yes
77
#
88
# The function changes hestia SSL certificate and the key.
99

bin/v-change-sys-ip-nat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# options: IP NAT_IP [RESTART]
44
# labels: panel
55
#
6-
# example: 185.209.50.140 10.110.104.205
6+
# example: v-change-sys-ip-nat 185.209.50.140 10.110.104.205
77
#
88
# The function for changing nat ip associated with ip.
99

bin/v-change-sys-ip-owner

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# options: IP USER
44
# labels: panel
55
#
6-
# example: 91.198.136.14 admin
6+
# example: v-change-sys-ip-owner 91.198.136.14 admin
77
#
88
# The function of changing ip address ownership.
99

bin/v-change-sys-ip-status

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# options: IP IP_STATUS
44
# labels: panel
55
#
6-
# example: 91.198.136.14 yourstatus
6+
# example: v-change-sys-ip-status 91.198.136.14 yourstatus
77
#
88
# The function of changing an ip address's status.
99

bin/v-delete-dns-domains-src

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# options: USER SRC [RESTART]
44
# labels: dns
55
#
6-
# example: v-delete-dns-domain-src admin '' yes
6+
# example: v-delete-dns-domains-src admin '' yes
77
#
88
# The function for deleting DNS domains related to a certain host.
99

bin/v-delete-mail-account-fwd-only

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# options: USER DOMAIN ACCOUNT
44
# labels: mail
55
#
6-
# example: v-delete-mail-accont-fwd-only admin example.com jack
6+
# example: v-delete-mail-account-fwd-only admin example.com jack
77
#
88
# The function deletes fwd-only flag
99

bin/v-delete-user-notification

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# options: USER NOTIFICATION
44
# labels: panel
55
#
6-
# example: admin "Hello, admin!"
6+
# example: v-delete-user-notification admin "Hello, admin!"
77
#
88
# The function deletes user notification.
99

0 commit comments

Comments
 (0)