You've already forked uptime-kuma
mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-06-27 00:51:30 +02: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