Match process title with script name

The clusteriocontroller and clusteriohost scripts don't use camelCase so
the process title set by these scripts shouldn't use it either.
This commit is contained in:
Hornwitser committed 2023-02-22 15:50:02 +01:00
1 parent 116eceaac4
commit b4259f59cf
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -334,7 +334,7 @@ async function initialize() {
async function startup() {
// Set the process title, shows up as the title of the CMD window on windows
// and as the process name in ps/top on linux.
process.title = "clusterioController";
process.title = "clusteriocontroller";
let { args, shouldRun, clusterLogger, pluginInfos, controllerConfigPath, controllerConfig } = await initialize();
if (!shouldRun) {
+1 -1
View File
@@ -171,7 +171,7 @@ async function startHost() {
// Set the process title, shows up as the title of the CMD window on windows
// and as the process name in ps/top on linux.
process.title = "clusterioHost";
process.title = "clusteriohost";
// make sure we have the controller access token
if (hostConfig.get("host.controller_token") === "enter token here") {