forked from CreatBot/CreatBotKlipperScreen
Add Ability to Use Custom Service (#418)
* Custom Servive * Custom Service * Update system.py * Update Configuration.md
This commit is contained in:
@@ -399,4 +399,4 @@ class SystemPanel(ScreenPanel):
|
||||
self._screen._ws.klippy.restart()
|
||||
|
||||
def restart_ks(self, widget):
|
||||
os.system("sudo systemctl restart KlipperScreen")
|
||||
os.system("sudo systemctl restart %s" % self._config.get_main_config_option('service'))
|
||||
|
Reference in New Issue
Block a user