LucidLink Linux systemd service

Team LucidLink
Team LucidLink
  • Updated

Install LucidLink client systemd service to survive system reboot, re-activate and automatically mount filespace in the preferred system location, running as root and allowing all users to access the filespace.

Pre-requisite: Download install LucidLink OS client for Linux

wget https://www.lucidlink.com/download/latest/lin64/stable/ -O lucidinstaller.deb
sudo apt update -y
sudo apt upgrade -y
sudo apt install ./lucidinstaller.deb -y

Components:

LucidLinkInstall.sh (script to install systemd service based on template)

LucidLink.service.config (lucidlink filespace daemon service template)

Configuration:

wget -O LucidLinkInstall.sh https://lucidlink.zendesk.com/hc/article_attachments/5778431478925/LucidLinkInstall.sh
wget -O LucidLink.service.config https://lucidlink.zendesk.com/hc/article_attachments/5778384940429/LucidLink.service.config
chmod +x LucidLinkInstall.sh
sudo ./LucidLinkInstall.sh <filespace.domain> <filespace-user> <filespace-password> <mountpoint>

Example:

sudo ./LucidLinkInstall.sh filespace.lucidlink root 12345 /mnt/Lucid
Installs LucidLink.service within /etc/systemd/system
Passwords with special characters will require strong quoting ' '
 
Notes:
Make sure the lucid daemon is successfully connected (linked to the filespace and mounted) before applying any additional commands in your ExecStartPost steps. Otherwise, these steps might fail and trigger the ExecStop command. 

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Comments

0 comments

Article is closed for comments.