mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-07-21 06:02:04 -04:00
Stop bree and cloudflared while the server shutting down
This commit is contained in:
parent
d8b32d652f
commit
48d679234a
3 changed files with 22 additions and 7 deletions
|
@ -83,3 +83,8 @@ module.exports.autoStart = async (token) => {
|
|||
cloudflared.start();
|
||||
}
|
||||
};
|
||||
|
||||
module.exports.stop = async () => {
|
||||
console.log("Stop cloudflared");
|
||||
cloudflared.stop();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue