Skip to content

Commit fe41a30

Browse files
author
Kristan Kenney
committed
Use restart service script when restarting web service
1 parent 79ea130 commit fe41a30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-restart-web

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ if [ -z "$WEB_SYSTEM" ] || [ "$WEB_SYSTEM" = 'remote' ]; then
4949
exit
5050
fi
5151

52-
systemctl restart $WEB_SYSTEM > /dev/null 2>&1
52+
$BIN/v-restart-service $WEB_SYSTEM $restart > /dev/null 2>&1
5353

5454
if [ $? -ne 0 ]; then
5555
send_email_report

0 commit comments

Comments
 (0)