branding och namechange

This commit is contained in:
larssand
2026-08-28 20:56:58 +02:00
parent 5cab3a0e17
commit 3cf68cf34a
23 changed files with 146 additions and 89 deletions

View File

@@ -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() {