1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2026-01-06 08:21:10 +03:00

Merge pull request #122 from mariadb-corporation/MCOL-567

MCOL-567 - added sudo to systemctl calls
This commit is contained in:
benthompson15
2017-02-21 11:12:54 -06:00
committed by GitHub

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"