branding och namechange
This commit is contained in:
@@ -30,7 +30,7 @@ if (command === "start") {
|
||||
function start() {
|
||||
const pid = readPid();
|
||||
if (pid && isRunning(pid)) {
|
||||
console.log(`Live Event server already running with PID ${pid}`);
|
||||
console.log(`RC RaceCore server already running with PID ${pid}`);
|
||||
console.log(`Logs: ${OUT_LOG}`);
|
||||
return;
|
||||
}
|
||||
@@ -53,7 +53,7 @@ function start() {
|
||||
child.unref();
|
||||
fs.writeFileSync(PID_FILE, `${child.pid}\n`);
|
||||
|
||||
console.log(`Live Event server started in background`);
|
||||
console.log(`RC RaceCore server started in background`);
|
||||
console.log(`PID: ${child.pid}`);
|
||||
console.log(`Logs: ${OUT_LOG}`);
|
||||
}
|
||||
@@ -61,7 +61,7 @@ function start() {
|
||||
async function stop() {
|
||||
const pid = readPid();
|
||||
if (!pid) {
|
||||
console.log("Live Event server is not running");
|
||||
console.log("RC RaceCore server is not running");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -89,7 +89,7 @@ async function stop() {
|
||||
}
|
||||
|
||||
cleanupStalePid();
|
||||
console.log(`Live Event server stopped`);
|
||||
console.log(`RC RaceCore server stopped`);
|
||||
}
|
||||
|
||||
async function restart() {
|
||||
@@ -100,14 +100,14 @@ async function restart() {
|
||||
function status() {
|
||||
const pid = readPid();
|
||||
if (pid && isRunning(pid)) {
|
||||
console.log(`Live Event server is running`);
|
||||
console.log(`RC RaceCore server is running`);
|
||||
console.log(`PID: ${pid}`);
|
||||
console.log(`Logs: ${OUT_LOG}`);
|
||||
return;
|
||||
}
|
||||
|
||||
cleanupStalePid();
|
||||
console.log("Live Event server is not running");
|
||||
console.log("RC RaceCore server is not running");
|
||||
}
|
||||
|
||||
function readPid() {
|
||||
|
||||
Reference in New Issue
Block a user