Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.
/ Daemon Public archive

Provides remote control capability for MCSManager 9.x to manage processes, scheduled tasks, I/O streams, and more.

License

Notifications You must be signed in to change notification settings

MCSManager/Daemon

Repository files navigation

MCSManager icon.png

Deprecated

!!! This repository is only applicable to MCSManager 9.X version. Please refer to the latest code here: https://github.com/MCSManager/MCSManager


Manual installation

Prerequisite: Web-side program needs to be installed to use this software normally.

Install Node 14+ and npm tools and clone the Daemon code for deployment, then use the following commands to initialize and start the Daemon side.

# Download the Daemon program
git clone https://github.com/MCSManager/MCSManager-Daemon-Production.git
# rename the folder and enter
mv MCSManager-Daemon-Production daemon
npm install
node app.js

The program will output the following

 Access address localhost:24444
 access key [your key, a string of hexadecimal numbers]
 The key is the only means of authentication for the daemon

Just add an instance on the web side using the key. To stop direct input:

Ctrl+C

If you need to run in the background for a long time, please use the Screen software in conjunction with it, or manually write to the system service.


License

Copyright 2023 MCSManager Dev, Apache-2.0 license.