You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For Darwin platform service Stop function use the following command:
launchctl unload <plist file path>
To get staus it uses
launchctl list <service name>
This command returns the following:
Could not find service "<service name>" in domain for system
So service Status function returns StatusUnknown event for installed but stopped service.
Result: StatusStopped is never returned.
If service library would use following command to stop the service
launchctl stop <service name>
it would not work as plist file has following key:
<key>KeepAlive</key>
<true/>
So service will restart and service.Stop function will not work.
So service Status/Stop/plist template file should be somehow changed.
The text was updated successfully, but these errors were encountered:
For Darwin platform service Stop function use the following command:
To get staus it uses
This command returns the following:
So service Status function returns StatusUnknown event for installed but stopped service.
Result: StatusStopped is never returned.
If service library would use following command to stop the service
it would not work as plist file has following key:
So service will restart and service.Stop function will not work.
So service Status/Stop/plist template file should be somehow changed.
The text was updated successfully, but these errors were encountered: