Git Product home page Git Product logo

Comments (3)

jjdevega avatar jjdevega commented on July 22, 2024 1

I am getting the same error, macOS 13.6.1 and homebrew 4.2.3 (freshly reinstalled).

from restic-automatic-backup-scheduler.

olalonde avatar olalonde commented on July 22, 2024

Same error. It looks like brew is not creating the ~/Library/LaunchAgents/homebrew.mxcl.restic-automatic-backup-scheduler.plist file.

edit: workaround:

adding the following to /opt/homebrew/Library/Taps/erikw/homebrew-tap/Formula/restic-automatic-backup-scheduler.rb seems to fix the issue:

  service do
    name macos: "#{plist_name}"
  end

edit2: nvm, getting this error now:

$ brew services start restic-automatic-backup-scheduler                                                                                                                                      stable
Bootstrap failed: 5: Input/output error
Try re-running the command as root for richer errors.
Error: Failure while executing; `/bin/launchctl bootstrap gui/501 /Users/redacted/Library/LaunchAgents/homebrew.mxcl.restic-automatic-backup-scheduler.plist` exited with 5.

from restic-automatic-backup-scheduler.

johnsturgeon avatar johnsturgeon commented on July 22, 2024

Fix appears to be this

diff --git a/lib/service/formula_wrapper.rb b/lib/service/formula_wrapper.rb
index 095b58a..c5b6d0c 100644
--- a/lib/service/formula_wrapper.rb
+++ b/lib/service/formula_wrapper.rb
@@ -68,7 +68,7 @@ module Service
         return @service_startup
       end

-      @service_startup ||= formula.plist_startup.present?
+      @service_startup ||= formula.plist_name.present?
     end

     # Path to destination service directory. If run as root, it's `boot_path`, else `user_path`.

from restic-automatic-backup-scheduler.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.