Fix "launchctl enable" call

This commit is contained in:
T. R. Bernstein
2024-07-03 02:10:06 +02:00
committed by T. R. Bernstein
parent 2a4fc38683
commit aaa1fcdb60

View File

@@ -117,8 +117,9 @@ function createLaunchDaemon() {
}
function enableLaunchDaemon() {
launchctl enable system/${launchDaemonPath%.*}
launchctl bootstrap system ${launchDaemonPath}
local serviceName="$($dataProvider LaunchdServiceName)"
launchctl enable system/${serviceName}
launchctl bootstrap system/ ${launchDaemonPath}
}
function createLaunchdService() {