I tried creating a Systemd service for the cloud service Filen CLI and used this guide: Filen CLI sync: Setup Guide for Linux — infoBAG
My Systemd serivce looks like this:
[Unit]
Description=Filen CLI Sync Service
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
ExecStart=/usr/bin/filen-cli-v0.0.27-linux-x64 mount /home/user/Filen/
Restart=on-failure
RestartSec=5
User=root
WorkingDirectory=/root
[Install]
WantedBy=multi-user.target
When i use /usr/bin/filen-cli-v0.0.27-linux-x64 mount /home/user/Filen/ it works without any problem, but the Systemd service always returns 203/EXEC. Already tried giving the file every possible permission, but to no avail.
Anybody got any idea? Still a bit of a noob when it comes to these things.