We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53fa697 commit bd3f3d2Copy full SHA for bd3f3d2
bin/v-change-sys-service-config
@@ -101,13 +101,14 @@ if [ "$update" = 'yes' ] && [ "$restart" != 'no' ]; then
101
fi
102
103
104
- service $service restart >/dev/null 2>&1
+ $BIN/v-restart-service $service $restart >/dev/null 2>&1
105
+
106
if [ $? -ne 0 ]; then
107
for config in $dst; do
108
cat $config.vst.back > $config
109
rm -f $config.vst.back
110
done
- check_result $E_RESTART "$service failed to start with new config"
111
+ check_result $E_RESTART "ERROR: $service failed to start with new configuration."
112
113
114
0 commit comments