Skip to content

Commit 3fe3bb5

Browse files
committed
Fixed hardcoded paths, changed from vesta to hestia.
1 parent 329d415 commit 3fe3bb5

Some content is hidden

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

65 files changed

+135
-2715
lines changed

bin/v-check-api-key

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# info: check api key
33
# options: KEY
44
#
5-
# The function checks a key file in /usr/local/vesta/data/keys/
5+
# The function checks a key file in $HESTIA/data/keys/
66

77

88
#----------------------------------------------------------#
@@ -26,7 +26,7 @@ date=$(echo "$time_n_date" |cut -f 2 -d \ )
2626

2727
if [ ! -e $VESTA/data/keys/$key ]; then
2828
echo "Error: key missmatch"
29-
echo "$date $time api $ip failed to login" >> $VESTA/log/auth.log
29+
echo "$date $time api $ip failed to login" >> $HESTIA/log/auth.log
3030
exit 9
3131
fi
3232

@@ -35,6 +35,6 @@ fi
3535
# Vesta #
3636
#----------------------------------------------------------#
3737

38-
echo "$date $time api $ip successfully launched" >> $VESTA/log/auth.log
38+
echo "$date $time api $ip successfully launched" >> $HESTIA/log/auth.log
3939

4040
exit
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
ssl = yes
2-
ssl_cert = </usr/local/vesta/ssl/certificate.crt
3-
ssl_key = </usr/local/vesta/ssl/certificate.key
2+
ssl_cert = </usr/local/hestia/ssl/certificate.crt
3+
ssl_key = </usr/local/hestia/ssl/certificate.key

install/debian/8/exim/exim4.conf.template

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ av_scanner = clamd: /var/run/clamav/clamd.ctl
3434
.endif
3535

3636
tls_advertise_hosts = *
37-
tls_certificate = /usr/local/vesta/ssl/certificate.crt
38-
tls_privatekey = /usr/local/vesta/ssl/certificate.key
37+
tls_certificate = /usr/local/hestia/ssl/certificate.crt
38+
tls_privatekey = /usr/local/hestia/ssl/certificate.key
3939

4040
daemon_smtp_ports = 25 : 465 : 587 : 2525
4141
tls_on_connect_ports = 465

install/debian/8/logrotate/vesta

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/usr/local/vesta/log/*.log {
1+
/usr/local/hestia/log/*.log {
22
missingok
33
notifempty
44
size 30k

install/debian/8/sudo/admin

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
# Created by vesta installer
22
Defaults env_keep="VESTA"
3+
Defaults env_keep+="HESTIA"
34
Defaults:admin !syslog
45
Defaults:admin !requiretty
56
Defaults:root !requiretty
67

78
# sudo is limited to vesta scripts
9+
admin ALL=NOPASSWD:/usr/local/hestia/bin/*
810
admin ALL=NOPASSWD:/usr/local/vesta/bin/*
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
ssl = yes
2-
ssl_cert = </usr/local/vesta/ssl/certificate.crt
3-
ssl_key = </usr/local/vesta/ssl/certificate.key
2+
ssl_cert = </usr/local/hestia/ssl/certificate.crt
3+
ssl_key = </usr/local/hestia/ssl/certificate.key

install/debian/9/exim/exim4.conf.template

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ av_scanner = clamd: /var/run/clamav/clamd.ctl
3434
.endif
3535

3636
tls_advertise_hosts = *
37-
tls_certificate = /usr/local/vesta/ssl/certificate.crt
38-
tls_privatekey = /usr/local/vesta/ssl/certificate.key
37+
tls_certificate = /usr/local/hestia/ssl/certificate.crt
38+
tls_privatekey = /usr/local/hestia/ssl/certificate.key
3939

4040
daemon_smtp_ports = 25 : 465 : 587 : 2525
4141
tls_on_connect_ports = 465

install/debian/9/logrotate/vesta

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/usr/local/vesta/log/*.log {
1+
/usr/local/hestia/log/*.log {
22
missingok
33
notifempty
44
size 30k

install/debian/9/sudo/admin

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
# Created by vesta installer
22
Defaults env_keep="VESTA"
3+
Defaults env_keep+="HESTIA"
34
Defaults:admin !syslog
45
Defaults:admin !requiretty
56
Defaults:root !requiretty
67

78
# sudo is limited to vesta scripts
89
admin ALL=NOPASSWD:/usr/local/vesta/bin/*
10+
admin ALL=NOPASSWD:/usr/local/hestia/bin/*
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
ssl = yes
2-
ssl_cert = </usr/local/vesta/ssl/certificate.crt
3-
ssl_key = </usr/local/vesta/ssl/certificate.key
2+
ssl_cert = </usr/local/hestia/ssl/certificate.crt
3+
ssl_key = </usr/local/hestia/ssl/certificate.key

0 commit comments

Comments
 (0)