Implement install and update system for the bot
- LINUX OR WINDOW WSL ONLY
This commit is contained in:
@@ -185,3 +185,10 @@ exports.removePreset = async (req, res) => {
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Runs the updater service
|
||||
*/
|
||||
exports.updateClient = async (req, res) => {
|
||||
await executeAsyncConsoleCommand("systemctl start RadioNodeUpdater.service");
|
||||
return res.sendStatus(200);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user