From 8f734ccc69243348a0777476680e0a675a24969a Mon Sep 17 00:00:00 2001 From: Erik Westrup Date: Sun, 13 Feb 2022 19:19:00 +0100 Subject: [PATCH] How to disable old launchagent --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 68312be..3c5b4f3 100644 --- a/README.md +++ b/README.md @@ -300,6 +300,12 @@ $ brew services restart restic-automatic-backup-scheduler $ brew services stop restic-automatic-backup-scheduler ``` +If `services start` fails, it might be due to previous version installed. In that case remove the existing version and try again: +```console +$ launchctl bootout gui/$UID/com.github.erikw.restic-automatic-backup-scheduler +$ brew services start restic-automatic-backup-scheduler +``` + ### Manual 1. In general, follow the same setup as in (#setup-linux-systemd) except for: * use `make install-launchagent` instead of `make install-systemd`