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 6b4e0d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ 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 & pkill -HUP PluginLoader"
result = subprocess.run(
cmd,
shell=True,
Expand Down

0 comments on commit 6b4e0d1

Please sign in to comment.