Skip to content

Commit a29f794

Browse files
committed
UI: Shutdown loader_service via SIGTERM instead of SIGKILL after elevation
1 parent e7120ee commit a29f794

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/views/MainPanel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ var lunaServiceUri = "luna://" + serviceName;
1616
var servicePath = "/media/developer/apps/usr/palm/services/" + serviceName;
1717
var autostartFilepath = servicePath + "/autostart.sh";
1818
var linkPath = "/var/lib/webosbrew/init.d/90-start_hyperiond";
19-
var elevationCommand = "/media/developer/apps/usr/palm/services/org.webosbrew.hbchannel.service/elevate-service " + serviceName + " && killall -9 loader_service";
19+
var elevationCommand = "/media/developer/apps/usr/palm/services/org.webosbrew.hbchannel.service/elevate-service " + serviceName + " && kill -TERM $(pidof loader_service)";
2020

2121
var not = function (x) { return !x };
2222
var yes_no_bool = function (x) {

0 commit comments

Comments
 (0)