Install Files.com Agent on Mac

When you install the Files.com Agent on macOS, you will configure it to run as a service. This ensures that it starts automatically whenever the system powers on or reboots, or when the agent program needs to recover from a problem. By installing the agent as a service, you dramatically improve the reliability of your connection.

Configure the Root Path

Before you install the Agent as a service, make sure that the root setting in the configuration file uses either a local drive path (such as /path/to/folder) or a path to an accessible mounted network drive (such as /mnt/path/to/folder).

Download the Agent

Download the agent executable for your system from the official download location. Choose the version with "macos" in the name that matches your architecture and save it to the same location as your configuration file on the host system.

Install the Agent

To install the Agent as a Launchd service on a Mac, use this command:

files-agent service install --config /path/to/files_agent_config.toml

This method keeps the executable and configuration file in their original locations.

Start the service with:

files-agent service start

If you update the configuration file, stop the service, make your changes, and restart it.

Stop the service with:

files-agent service stop

Remove the service with:

files-agent service uninstall

Last updated