How to disable old launchagent

This commit is contained in:
Erik Westrup
2022-02-13 19:19:00 +01:00
parent 56c4fca8f6
commit 8f734ccc69

View File

@@ -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`