Fix "launchctl enable" call
This commit is contained in:
committed by
T. R. Bernstein
parent
2a4fc38683
commit
aaa1fcdb60
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user