Launchd Service
If you wish to install either FileFlows Server or FileFlows Node as a launchd service, follow this guide.
Ensure dotnet
is available in your PATH.
Installation
- Server
- Node
To install FileFlows Server as a launchd service, run:
cd Server
dotnet FileFlows.Server.dll --launchd install
To install FileFlows Node, it is recommended you first run the Node manually to create the configuration file, which includes the URL of the server:
cd Node
dotnet FileFlows.Node.dll
This will create a JSON configuration file at /Data/node.config
:
{
"ServerUrl": "",
"AccessToken": "",
"HostName": "machine-name"
}
Update the "ServerUrl"
with the URL to your FileFlows Server, for example:
{
"ServerUrl": "http://192.168.1.100:19200/",
"AccessToken": "",
"HostName": "machine-name"
}
Save the file.
Then install the launchd service:
dotnet FileFlows.Node.dll --launchd
Check The Status
- Server
- Node
To check the status of the FileFlows Server service, run:
launchctl list | grep fileflows
To check the status of the FileFlows Node service, run:
launchctl list | grep fileflows.node
Uninstall
- Server
- Node
To uninstall the Server service, run:
cd Server
dotnet FileFlows.Server.dll --launchd uninstall
Or to uninstall manually:
launchctl unload ~/Library/LaunchAgents/com.fileflows.server.plist
rm ~/Library/LaunchAgents/com.fileflows.server.plist
To uninstall the Node service, run:
cd Node
dotnet FileFlows.Node.dll --launchd uninstall
Or to uninstall manually:
launchctl unload ~/Library/LaunchAgents/com.fileflows.node.plist
rm ~/Library/LaunchAgents/com.fileflows.node.plist