Skip to content

Replace .plist Daemon File On New Muses

We're going to replace this file for the one in thalia.ti.bfh.ch.

Step 1. Verify the .plist file in thalia.ti.bfh.ch

On the server:

ls /Library/LaunchDaemons/

You should get something like:

ollama.plist

Check the contents:

cat /Library/LaunchDaemons/ollama.plist

Step 2. Backup the existing .plist file on the new muses

On each new Mac machine:

sudo cp /Library/LaunchDaemons/ollama.plist /Library/LaunchDaemons/ollama.plist.bak

Step 3. Copy thalia's .plist file to the new muses

Using scp:

scp thalia.ti.bfh.ch:/Library/LaunchDaemons/ollama.plist /tmp/

Then move it into place:

sudo mv /tmp/ollama.plist /Library/LaunchDaemons/
sudo chown root:wheel /Library/LaunchDaemons/ollama.plist
sudo chmod 644 /Library/LaunchDaemons/ollama.plist

NOTE: macOS requires root ownership and 644 permissions for launch daemons.

Step 4. Reload the launch daemon

After replacing the file:

sudo launchctl bootout system /Library/LaunchDaemons/com.ollama.plist
sudo launchctl bootstrap /Library/LaunchDaemons/com.ollama.plist

NOTE: unload/load is outdated

Check status:

sudo launchctl list | grep ollama

You should get an output like:

46326   0       ollama