From 4bd547f3ee824f0068d4f28f8102d702fd49eb57 Mon Sep 17 00:00:00 2001 From: morpheus65535 Date: Sun, 22 Nov 2020 10:37:08 -0500 Subject: [PATCH] Updated Autostart on Linux Windows MacOS FreeBSD (markdown) --- Autostart-on-Linux-Windows-MacOS-FreeBSD.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Autostart-on-Linux-Windows-MacOS-FreeBSD.md b/Autostart-on-Linux-Windows-MacOS-FreeBSD.md index a6e6213..5770a68 100644 --- a/Autostart-on-Linux-Windows-MacOS-FreeBSD.md +++ b/Autostart-on-Linux-Windows-MacOS-FreeBSD.md @@ -134,7 +134,13 @@ As-is, the LaunchAgent expects bazarr to be cloned or installed at `/Application The LaunchAgent should be named `com.github.morpheus65535.bazarr.plist` - again, if you'd like something else, update the Label in the file itself as well. -The file is installed to `~/Library/LaunchAgents` and the service will start when the user logs into the system. After installation, the service can be started immediately by running `launchctl load ~/Library/LaunchAgents/com.github.morpheus65535.bazarr.plist`. The service can be stopped by running the same command replacing load with unload. +The file is installed to `/Library/LaunchAgents` and the service will start when the user logs into the system. After installation, the service can be started immediately by running `launchctl load /Library/LaunchAgents/com.github.morpheus65535.bazarr.plist`. The service can be stopped by running the same command replacing load with unload. + +Make sure that owner and permissions are properly defined on the plist: +``` +sudo chown root:wheel /Library/LaunchAgents/com.github.morpheus65535.bazarr.plist +sudo chmod -R 0644 /Library/LaunchAgents/com.github.morpheus65535.bazarr.plist +``` Logs are written to `/usr/local/var/log/bazarr.log`.