You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-01 06:46:55 +03:00
MCOL-520 - change to only do sudo change to rc.local for non-root amazon
This commit is contained in:
@ -1471,12 +1471,12 @@ int main(int argc, char* argv[])
|
|||||||
cout << "Check Amazon Install Documenation for additional information, exiting..." << endl;
|
cout << "Check Amazon Install Documenation for additional information, exiting..." << endl;
|
||||||
exit (1);
|
exit (1);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
// setup to start on reboot, for non-root amazon installs
|
// setup to start on reboot, for non-root amazon installs
|
||||||
if ( !rootUser )
|
if ( !rootUser )
|
||||||
{
|
{
|
||||||
system("sudo sed -i -e 's/#runuser/runuser/g' /etc/rc.d/rc.local >/dev/null 2>&1");
|
system("sudo sed -i -e 's/#runuser/runuser/g' /etc/rc.d/rc.local >/dev/null 2>&1");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( !writeConfig(sysConfig) )
|
if ( !writeConfig(sysConfig) )
|
||||||
|
Reference in New Issue
Block a user