mirror of
https://github.com/koichixD/uptime-kuma.git
synced 2026-09-04 09:13:21 +00:00
Stop bree and cloudflared while the server shutting down
This commit is contained in:
@@ -83,3 +83,8 @@ module.exports.autoStart = async (token) => {
|
||||
cloudflared.start();
|
||||
}
|
||||
};
|
||||
|
||||
module.exports.stop = async () => {
|
||||
console.log("Stop cloudflared");
|
||||
cloudflared.stop();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user