Add Ability to Use Custom Service (#418)

* Custom Servive

* Custom Service

* Update system.py

* Update Configuration.md
This commit is contained in:
Devil-of-Chaos
2022-01-13 17:17:45 +01:00
committed by GitHub
parent 8c489bc465
commit f796a72057
4 changed files with 6 additions and 2 deletions

View File

@@ -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'))