Skip to content

Commit d4058bf

Browse files
author
Kristan Kenney
authored
Merge pull request hestiacp#497 from Lupul/dev-0707
Dev 0707
2 parents abe9301 + 46684ae commit d4058bf

File tree

3 files changed

+13
-9
lines changed

3 files changed

+13
-9
lines changed

bin/v-restart-service

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,19 @@ check_args '1' "$#" 'SERVICE'
2828
# Action #
2929
#----------------------------------------------------------#
3030

31-
# Run the restart rules for iptables firewall
3231
if [ "$service" = "iptables" ]; then
32+
# Run the restart rules for iptables firewall
3333
$BIN/v-stop-firewall
3434
$BIN/v-update-firewall
35-
fi
36-
37-
if [ "$service" = "hestia" ] || [ "$service" = "iptables" ] || [ "$service" = "mariadb" ] || [ "$service" = "mysql" ] || [ "$service" = "postgresql" ] || [ "$service" = "cron" ]; then
38-
systemctl restart $service > /dev/null 2>&1
39-
elif [ -z "$force" ] || [ "$force" = "no" ]; then
35+
elif [ -z "$force" -o "$force" = "no" ] && [ \
36+
"$service" = "nginx" -o \
37+
"$service" = "apache2" -o \
38+
"$service" = "exim4" -o \
39+
"$service" = "dovecot" -o \
40+
"$service" = "bind9" -o \
41+
"$service" = "vsftpd" -o \
42+
"$service" = "ssh" -o \
43+
"$service" = "fail2ban" ]; then
4044
systemctl reload $service > /dev/null 2>&1
4145
else
4246
systemctl restart $service > /dev/null 2>&1

web/css/styles.min.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1205,7 +1205,7 @@ a {
12051205
.l-separator.selected,
12061206
.l-separator {
12071207
height: 1px;
1208-
background-color: #ddd;
1208+
border-top: 1px solid #ddd;
12091209
}
12101210

12111211
div.l-content > div.l-separator:nth-of-type(2) {
@@ -1220,6 +1220,8 @@ div.l-content > div.l-separator:nth-of-type(4) {
12201220
width: 100%;
12211221
position: fixed;
12221222
z-index: 110;
1223+
border-top: none;
1224+
border-bottom: 1px solid #ddd;
12231225
}
12241226

12251227
.l-sort {

web/js/app.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1009,15 +1009,13 @@ hover_menu = function() {
10091009
nav_a.css({'min-height': 111 - st + 'px'});
10101010
nav_context.css({'margin-top': 181 - st + 'px'});
10111011
sep_2.css({'box-shadow':'none'});
1012-
sep_2.css({'background-color': '#ddd'});
10131012
sep_2.css({'height': '1px'});
10141013
}
10151014

10161015
if(st > 112){
10171016
sep_1.css({'margin-top': '100px'});
10181017
sep_2.css({'margin-top': '130px'});
10191018
sep_2.css({'height': '15px'});
1020-
sep_2.css({'background-color': '#fff'});
10211019
nav_a.css({'height': '0'});
10221020
nav_a.css({'min-height': '0'});
10231021
nav_context.css({'margin-top': '101px'});

0 commit comments

Comments
 (0)