Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MacOS: Failed to restart Cirri host Daemon #12

Open
danwild opened this issue Apr 26, 2021 · 3 comments
Open

MacOS: Failed to restart Cirri host Daemon #12

danwild opened this issue Apr 26, 2021 · 3 comments

Comments

@danwild
Copy link

danwild commented Apr 26, 2021

MEGAPTERA-DP:Desktop wil9cr$ sudo ./cirrid install
2021/04/26 10:56:07 installing:
2021/04/26 10:56:07 [VERBOSE] Exec: /usr/local/bin/cirrid-v0.2021.04.21.125340+5071083 version --show-only=cirri --format={{.Version}}
2021/04/26 10:56:07 OK: /usr/local/bin/cirrid-v0.2021.04.21.125340+5071083 is up to date with /Users/wil9cr/Desktop/cirrid
2021/04/26 10:56:07 OK: /usr/local/bin/cirrid is a link to /usr/local/bin/cirrid-v0.2021.04.21.125340+5071083
2021/04/26 10:56:07 Start service:
2021/04/26 10:56:07 Failed to restart Cirri host Daemon: "launchctl" failed with stderr: /Library/LaunchDaemons/cirrid.plist: Could not find specified service
Unload failed: 113: Could not find specified service

/Library/LaunchDaemons/cirrid.plist

<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd" >
<plist version='1.0'>
  <dict>
    <key>Label</key>
    <string>cirrid</string>
    <key>ProgramArguments</key>
    <array>
      <string>/usr/local/bin/cirrid</string>
    
      <string>run</string>
    
    </array>
    
    
    
    <key>SessionCreate</key>
    <false/>
    <key>KeepAlive</key>
    <true/>
    <key>RunAtLoad</key>
    <false/>
    <key>Disabled</key>
    <false/>
    
    <key>StandardOutPath</key>
    <string>/usr/local/var/log/cirrid.out.log</string>
    <key>StandardErrorPath</key>
    <string>/usr/local/var/log/cirrid.err.log</string>
  
  </dict>
</plist>
@SvenDowideit
Copy link
Contributor

wtf! why is yours installing into your home dir!?

@SvenDowideit
Copy link
Contributor

i think the initial sudo ./cirrid install gets things a little weird.

it also seems dan was able to cirrid start - as non-root

and dab actually does need "use cirri stackdomain, not hostname" - as he's using dan.ona.im

so i need to add that / customise using cfg...

@SvenDowideit
Copy link
Contributor

and make sure we lowercase things, I'm mildly suspicious - tho dan just mentions a spooling misstakee

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants