macOS launchd LaunchAgent daemon

Team LucidLink
Team LucidLink
  • Updated

1. Create user script directory in ~/

    mkdir ~/Scripts

2. Create bash

   nano ~/Scripts/
    lucid daemon --fs <filespace.domain> --user <username> --password <password> --mount-point ~/Lucid

3. Save and make executable

  chmod +x ~/Scripts/

4. Create property list file

  sudo nano /Library/LaunchAgents/com.startup.plist
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
    <plist version="1.0">

5. Load plist

    sudo launchctl load -w /Library/LaunchAgents/com.startup.plist

6. Remove with Unload

    sudo launchctl unload -w /Library/LaunchAgents/com.startup.plist

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request



Article is closed for comments.