Skip to content

Commit

Permalink
UI: Shutdown loader_service via SIGTERM instead of SIGKILL after elev…
Browse files Browse the repository at this point in the history
…ation
  • Loading branch information
tuxuser committed Jun 14, 2022
1 parent 1f5011a commit fa00107
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/views/MainPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ var lunaServiceUri = "luna://" + serviceName;
var servicePath = "/media/developer/apps/usr/palm/services/" + serviceName;
var autostartFilepath = servicePath + "/autostart.sh";
var linkPath = "/var/lib/webosbrew/init.d/90-start_hyperhdr";
var elevationCommand = "/media/developer/apps/usr/palm/services/org.webosbrew.hbchannel.service/elevate-service " + serviceName + " && killall -9 loader_service";
var elevationCommand = "/media/developer/apps/usr/palm/services/org.webosbrew.hbchannel.service/elevate-service " + serviceName + " && kill -TERM $(pidof loader_service)";

var not = function (x) { return !x };
var yes_no_bool = function (x) {
Expand Down

0 comments on commit fa00107

Please sign in to comment.