

How to relaunch or restart a service item that automatically starts at login?

This is silly. The other day, I force quit the wrong item because I went too fast. It was the DVR service for my security cameras. I actually never had to launch any DVR app at all, since it was installed as a service from day 1 and so it automatically starts when I boot my Mac. The day this happened, I had lots open and did not want to reboot just to have the DVR service start again. This left me quite puzzled. How the heck do you start something that automatically starts at login and that is a service and is not an app? I wasted at least 15 minutes to figure this out, so I'll leave the solution here for anybody who doesn't know or remember how to do it (quite possibly including me in the future!) ... I wish Apple would just put a damn button to automate this in the OPEN AT LOGIN prefs panel list. Ughhh. 1) Click on the Finder icon in the dock. 2) Press COMMAND-SHIFT-G or in the menu bar, choose Go > Go to Folder... 3) Type /Library/LaunchDaemons/ and hit ENTER. 4) Locate the service that you want to restart from that list of files... In my case the file is named "com.ispy.agent.dvr.plist". 5) Launch the Terminal app and run this command after replacing the Library path with your desired service file path: sudo launchctl load -w /Library/LaunchDaemons/com.ispy.agent.dvr.plist
|
|