#Setting up Filen CLI as a Systemd Service on Debian Bullseye ARM64
This guide outlines the process of installing and configuring the Filen CLI to run as a systemd service for continuous syncing on a Debian Bullseye ARM64 system.
#1. Install Filen CLI
#2. Set up Authentication
Create a file named .filen-cli-credentials
in the root user’s home directory:
Add your Filen credentials to this file:
Secure the credentials file:
#3. Create Systemd Service File
Create a new systemd service file:
Add the following content:
Note: Adjust the paths in the ExecStart
line to match your specific sync requirements.
#4. Enable and Start the Service
#5. Verify Service Status
Check if the service is running correctly:
#6. Monitor Logs
To view the service logs:
#Troubleshooting
If you encounter issues:
- Check the service status and logs using the commands in steps 5 and 6.
- Ensure the sync directories exist and have the correct permissions.
- Verify the credentials in
/root/.filen-cli-credentials
are correct. -
Try running the sync command manually to see if there are any errors:
- If problems persist, check for updates to the Filen CLI or consult the official Filen documentation.
#Maintenance
- Periodically check for updates to the Filen CLI.
- To update, download the new version, replace the binary in
/usr/bin/
, and restart the service. - Regularly review and adjust your sync settings as needed.
Remember to keep your .filen-cli-credentials
file secure and update it if you change your Filen account password.