Skip to content

Commit d816a9d

Browse files
author
Kristan Kenney
committed
Import syshealth library for rebuild scripts
1 parent 8a15b1c commit d816a9d

13 files changed

+29
-6
lines changed

bin/v-rebuild-all

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,11 @@ restart=$2
2222
# Includes
2323
# shellcheck source=/usr/local/hestia/func/main.sh
2424
# shellcheck source=/usr/local/hestia/func/rebuild.sh
25+
# shellcheck source=/usr/local/hestia/func/syshealth.sh
2526
# shellcheck source=/usr/local/hestia/conf/hestia.conf
2627
source $HESTIA/func/main.sh
2728
source $HESTIA/func/rebuild.sh
29+
source $HESTIA/func/syshealth.sh
2830
source $HESTIA/conf/hestia.conf
2931

3032
# Export sbin

bin/v-rebuild-database

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,12 @@ database=$2
2020
# shellcheck source=/usr/local/hestia/func/main.sh
2121
# shellcheck source=/usr/local/hestia/func/db.sh
2222
# shellcheck source=/usr/local/hestia/func/rebuild.sh
23+
# shellcheck source=/usr/local/hestia/func/syshealth.sh
2324
# shellcheck source=/usr/local/hestia/conf/hestia.conf
2425
source $HESTIA/func/main.sh
2526
source $HESTIA/func/db.sh
2627
source $HESTIA/func/rebuild.sh
28+
source $HESTIA/func/syshealth.sh
2729
source $HESTIA/conf/hestia.conf
2830

2931

bin/v-rebuild-databases

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,12 @@ user=$1
1919
# shellcheck source=/usr/local/hestia/func/main.sh
2020
# shellcheck source=/usr/local/hestia/func/db.sh
2121
# shellcheck source=/usr/local/hestia/func/rebuild.sh
22+
# shellcheck source=/usr/local/hestia/func/syshealth.sh
2223
# shellcheck source=/usr/local/hestia/conf/hestia.conf
2324
source $HESTIA/func/main.sh
2425
source $HESTIA/func/db.sh
2526
source $HESTIA/func/rebuild.sh
27+
source $HESTIA/func/syshealth.sh
2628
source $HESTIA/conf/hestia.conf
2729

2830

bin/v-rebuild-dns-domain

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,12 @@ update_serial=$4
2222
# shellcheck source=/usr/local/hestia/func/main.sh
2323
# shellcheck source=/usr/local/hestia/func/domain.sh
2424
# shellcheck source=/usr/local/hestia/func/rebuild.sh
25+
# shellcheck source=/usr/local/hestia/func/syshealth.sh
2526
# shellcheck source=/usr/local/hestia/conf/hestia.conf
2627
source $HESTIA/func/main.sh
2728
source $HESTIA/func/domain.sh
2829
source $HESTIA/func/rebuild.sh
30+
source $HESTIA/func/syshealth.sh
2931
source $HESTIA/conf/hestia.conf
3032

3133

bin/v-rebuild-dns-domains

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,12 @@ update_serial=$3
2121
# shellcheck source=/usr/local/hestia/func/main.sh
2222
# shellcheck source=/usr/local/hestia/func/domain.sh
2323
# shellcheck source=/usr/local/hestia/func/rebuild.sh
24+
# shellcheck source=/usr/local/hestia/func/syshealth.sh
2425
# shellcheck source=/usr/local/hestia/conf/hestia.conf
2526
source $HESTIA/func/main.sh
2627
source $HESTIA/func/domain.sh
2728
source $HESTIA/func/rebuild.sh
29+
source $HESTIA/func/syshealth.sh
2830
source $HESTIA/conf/hestia.conf
2931

3032

bin/v-rebuild-mail-domain

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,15 @@ domain=$2
1919
# Includes
2020
# shellcheck source=/usr/local/hestia/func/main.sh
2121
# shellcheck source=/usr/local/hestia/func/domain.sh
22-
# shellcheck source=/usr/local/hestia/func/rebuild.sh
2322
# shellcheck source=/usr/local/hestia/func/ip.sh
23+
# shellcheck source=/usr/local/hestia/func/rebuild.sh
24+
# shellcheck source=/usr/local/hestia/func/syshealth.sh
2425
# shellcheck source=/usr/local/hestia/conf/hestia.conf
2526
source $HESTIA/func/main.sh
2627
source $HESTIA/func/domain.sh
27-
source $HESTIA/func/rebuild.sh
2828
source $HESTIA/func/ip.sh
29+
source $HESTIA/func/rebuild.sh
30+
source $HESTIA/func/syshealth.sh
2931
source $HESTIA/conf/hestia.conf
3032

3133
# Define mail user

bin/v-rebuild-mail-domains

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,15 @@ user=$1
1818
# Includes
1919
# shellcheck source=/usr/local/hestia/func/main.sh
2020
# shellcheck source=/usr/local/hestia/func/domain.sh
21-
# shellcheck source=/usr/local/hestia/func/rebuild.sh
2221
# shellcheck source=/usr/local/hestia/func/ip.sh
22+
# shellcheck source=/usr/local/hestia/func/rebuild.sh
23+
# shellcheck source=/usr/local/hestia/func/syshealth.sh
2324
# shellcheck source=/usr/local/hestia/conf/hestia.conf
2425
source $HESTIA/func/main.sh
2526
source $HESTIA/func/domain.sh
26-
source $HESTIA/func/rebuild.sh
2727
source $HESTIA/func/ip.sh
28+
source $HESTIA/func/rebuild.sh
29+
source $HESTIA/func/syshealth.sh
2830
source $HESTIA/conf/hestia.conf
2931

3032
# Define mail user

bin/v-rebuild-user

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,11 @@ restart=$2
1919
# Includes
2020
# shellcheck source=/usr/local/hestia/func/main.sh
2121
# shellcheck source=/usr/local/hestia/func/rebuild.sh
22+
# shellcheck source=/usr/local/hestia/func/syshealth.sh
2223
# shellcheck source=/usr/local/hestia/conf/hestia.conf
2324
source $HESTIA/func/main.sh
2425
source $HESTIA/func/rebuild.sh
26+
source $HESTIA/func/syshealth.sh
2527
source $HESTIA/conf/hestia.conf
2628

2729
# Export sbin

bin/v-rebuild-users

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,11 @@ restart=$1
1717
# Includes
1818
# shellcheck source=/usr/local/hestia/func/main.sh
1919
# shellcheck source=/usr/local/hestia/func/rebuild.sh
20+
# shellcheck source=/usr/local/hestia/func/syshealth.sh
2021
# shellcheck source=/usr/local/hestia/conf/hestia.conf
2122
source $HESTIA/func/main.sh
2223
source $HESTIA/func/rebuild.sh
24+
source $HESTIA/func/syshealth.sh
2325
source $HESTIA/conf/hestia.conf
2426

2527
# Export sbin

bin/v-rebuild-web-domain

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,13 @@ restart=$3
2222
# shellcheck source=/usr/local/hestia/func/domain.sh
2323
# shellcheck source=/usr/local/hestia/func/ip.sh
2424
# shellcheck source=/usr/local/hestia/func/rebuild.sh
25+
# shellcheck source=/usr/local/hestia/func/syshealth.sh
2526
# shellcheck source=/usr/local/hestia/conf/hestia.conf
2627
source $HESTIA/func/main.sh
2728
source $HESTIA/func/domain.sh
2829
source $HESTIA/func/ip.sh
2930
source $HESTIA/func/rebuild.sh
31+
source $HESTIA/func/syshealth.sh
3032
source $HESTIA/conf/hestia.conf
3133

3234

0 commit comments

Comments
 (0)