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() {
|
function enableLaunchDaemon() {
|
||||||
launchctl enable system/${launchDaemonPath%.*}
|
local serviceName="$($dataProvider LaunchdServiceName)"
|
||||||
launchctl bootstrap system ${launchDaemonPath}
|
launchctl enable system/${serviceName}
|
||||||
|
launchctl bootstrap system/ ${launchDaemonPath}
|
||||||
}
|
}
|
||||||
|
|
||||||
function createLaunchdService() {
|
function createLaunchdService() {
|
||||||
|
|||||||
Reference in New Issue
Block a user