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