|
Configuring PowerFolder to run in a headless mode as a system service on Windows is straightforward:
Configuring PowerFolder to run in a headless mode as background process on Linux requires an existing PowerFolder.config file, which includes the relevant information to connect to the server:
/powerfolder
in the home directory of the dedicated user for PowerFolder.Create a PowerFolder.config
file in the same directory with the contents below:
config.url=http://powerfolder.example.com:8080 nick= server.connect.username=username server.connect.password=password |
Replace the value for config.url
with the URL of the PowerFolder Server web interface.
Replace the value for server.connect.username
and server.connect.password
with the username and password created in the first step.
Replace the value for nick
with a name under which the device should appear in the web interface.
Change file permissions for the PowerFolder-Client.sh
file:
chmod +x PowerFolder-Client.sh |
Execute the PowerFolder.sh
file:
./PowerFolder-Client.sh start |
PowerFolder should now start and connect to the server specified in the config.url
parameter. Click on Devices in the web interface to see if the client connected successfully to the server. If that is the case, it should be listed there.
If the client doesn't show up in the web interface of the server, add the line verbose=true
to the PowerFolder.config
file. PowerFolder will then generate logs in a sub-directory called /logs
, where errors are listed.