1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-08 14:22:09 +03:00

MCOL-567 - added sudo to systemctl calls

This commit is contained in:
David Hill
2017-02-13 14:18:41 -06:00
parent e35be80f8c
commit f6ff598905

View File

@@ -1,4 +1,4 @@
#!/bin/bash
!/bin/bash
#
# $Id: syslogSetup.sh 421 2007-04-05 15:46:55Z dhill $
#
@@ -179,9 +179,9 @@ if [ ! -z "$syslog_conf" ] ; then
$SUDO /etc/init.d/syslog restart > /dev/null 2>&1
$SUDO /etc/init.d/syslog-ng restart > /dev/null 2>&1
systemctl restart rsyslog.service > /dev/null 2>&1
systemctl restart syslog.service > /dev/null 2>&1
systemctl restart syslog-ng.service > /dev/null 2>&1
$SUDO systemctl restart rsyslog.service > /dev/null 2>&1
$SUDO systemctl restart syslog.service > /dev/null 2>&1
$SUDO systemctl restart syslog-ng.service > /dev/null 2>&1
fi
@@ -215,9 +215,9 @@ if [ ! -z "$syslog_conf" ] ; then
$SUDO /etc/init.d/syslog restart > /dev/null 2>&1
$SUDO /etc/init.d/syslog-ng restart > /dev/null 2>&1
systemctl restart rsyslog.service > /dev/null 2>&1
systemctl restart syslog.service > /dev/null 2>&1
systemctl restart syslog-ng.service > /dev/null 2>&1
$SUDO systemctl restart rsyslog.service > /dev/null 2>&1
$SUDO systemctl restart syslog.service > /dev/null 2>&1
$SUDO systemctl restart syslog-ng.service > /dev/null 2>&1
$installdir/bin/setConfig -d Installation SystemLogConfigFile "unassigned"