Skip to content

Commit

Permalink
update restart command
Browse files Browse the repository at this point in the history
  • Loading branch information
honjow committed Jun 27, 2024
1 parent bd3fc1a commit 420bb95
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions backend/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,9 @@ def update_latest():
except Exception as e:
decky_plugin.logger.error(f"error during ota file extraction {e}")

logging.info("restarting plugin_loader.service")
cmd = "systemctl restart plugin_loader.service"
logging.info("restarting plugin_loader")
# cmd = "systemctl restart plugin_loader.service"
cmd = "pkill -HUP PluginLoader"
result = subprocess.run(
cmd,
shell=True,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "PowerControl",
"version": "2.6.3",
"version": "2.6.4",
"description": "PowerControl plugin.",
"scripts": {
"build": "shx rm -rf dist && rollup -c",
Expand Down

0 comments on commit 420bb95

Please sign in to comment.