mirror of
https://github.com/gravitational/teleport.git
synced 2026-10-25 10:40:02 +08:00
* Detect VNet daemon feature flag and signing status * Register daemon plist * Wait for enablement of login item * Add dev docs on how to work with launch daemons * Run code through autoformatter https://formatter.org/objc-formatter https://google.github.io/styleguide/objcguide.html#spacing-and-formatting Coding Style: Google Indent Width: 2 Column Limit: 100 * Remove unnecessary darwin build tags * Decide to use launch daemon at build time * Address minor feedback * Show a message when waiting for bg item to be enabled * Correctly resolve bundle path if executable is symlinked mainBundle of NSBundle would not resolve symlinks, resulting in a wrong bundle information when tsh was symlinked to /usr/local/bin/tsh by tsh.pkg. * Run tests for untagged vnetdaemon code * Add includes for standard library headers * Format plists in Xcode * Use explicit values for serviceStatus * Revert changes to lib/utils.NormalizePath
741 B
741 B
lib/vnet/daemon
See Working with launch daemons for general information on how to troubleshoot launch daemons.
Useful resources:
- https://developer.apple.com/documentation/xpc?language=objc
- https://developer.apple.com/documentation/servicemanagement/smappservice?language=objc
- https://www.objc.io/issues/14-mac/xpc/
- https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/ProgrammingWithObjectiveC/WorkingwithObjects/WorkingwithObjects.html
- Objective-C Memory Management for Swift Programmers
- XPC and App-to-App Communication