fix: rename binary to ssm
This commit is contained in:
@ -17,7 +17,7 @@ func newPlatformManager(configDir string) (platformManager, error) {
|
||||
// macosServiceManager manages services via launchd. Direct port of
|
||||
// MacOSServiceManager in service_manager.py. Unlike the Python version
|
||||
// (which shells out to a separate macos_service_wrapper.py for DNS
|
||||
// handling), the generated plist invokes this same ss binary in
|
||||
// handling), the generated plist invokes this same ssm binary in
|
||||
// "service run-macos" mode (see wrapper_darwin.go) — no second script file
|
||||
// is needed.
|
||||
type macosServiceManager struct {
|
||||
@ -31,7 +31,7 @@ func (d *macosServiceManager) launchdPath(name string) string {
|
||||
func (d *macosServiceManager) createLaunchdPlist(cfg Config) error {
|
||||
selfPath, err := os.Executable()
|
||||
if err != nil {
|
||||
return fmt.Errorf("failed to determine ss executable path: %w", err)
|
||||
return fmt.Errorf("failed to determine ssm executable path: %w", err)
|
||||
}
|
||||
|
||||
workingDir := filepath.Dir(cfg.ExecutablePath)
|
||||
|
||||
Reference in New Issue
Block a user