1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

name changes for non-root

This commit is contained in:
david hill
2016-08-16 13:38:45 -05:00
parent 516d45a27b
commit 53abd78979
6 changed files with 55 additions and 655 deletions

View File

@ -3601,7 +3601,7 @@ int ProcessMonitor::reconfigureModule(std::string reconfigureModuleName)
system(cmd.c_str());
cmd = "rm -f /etc/rc.d/rc.local";
system(cmd.c_str());
cmd = "cp /etc/rc.d/rc.local.calpontSave /etc/rc.d/rc.local >/dev/null 2>&1";
cmd = "cp /etc/rc.d/rc.local.columnstoreSave /etc/rc.d/rc.local >/dev/null 2>&1";
system(cmd.c_str());
if (geteuid() == 0)
cmd = "cat " + installDir + "/local/rc.local.calpont >> /etc/rc.d/rc.local >/dev/null 2>&1";