mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-12 23:04:52 +09:00
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:
1 parent
116eceaac4
commit
b4259f59cf
2 files changed
+2
-2
No files matched your search
@@ -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) {
|
||||
|
||||
@@ -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") {
|
||||
|
||||
Reference in new issue
Block a user