ticlawk 0.1.17-dev.20 → 0.1.17-dev.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -197,14 +197,12 @@ function installLaunchd() {
|
|
|
197
197
|
}
|
|
198
198
|
|
|
199
199
|
if (run('launchctl', ['print', launchdService]).status === 0) {
|
|
200
|
-
runRequired('launchd
|
|
201
|
-
console.log(`launchd service restarted: ${launchdService}`);
|
|
202
|
-
} else {
|
|
203
|
-
runRequired('launchd bootstrap', 'launchctl', ['bootstrap', launchdDomain, plistFile]);
|
|
204
|
-
runRequired('launchd enable', 'launchctl', ['enable', launchdService]);
|
|
205
|
-
runRequired('launchd kickstart', 'launchctl', ['kickstart', '-k', launchdService]);
|
|
206
|
-
console.log(`launchd service installed: ${plistFile}`);
|
|
200
|
+
runRequired('launchd bootout', 'launchctl', ['bootout', launchdService]);
|
|
207
201
|
}
|
|
202
|
+
runRequired('launchd bootstrap', 'launchctl', ['bootstrap', launchdDomain, plistFile]);
|
|
203
|
+
runRequired('launchd enable', 'launchctl', ['enable', launchdService]);
|
|
204
|
+
runRequired('launchd kickstart', 'launchctl', ['kickstart', '-k', launchdService]);
|
|
205
|
+
console.log(`launchd service refreshed: ${plistFile}`);
|
|
208
206
|
}
|
|
209
207
|
|
|
210
208
|
export function getInstallDaemonHelp() {
|