LucidLink as a Windows Service

  • Updated

If you'd like to have a user or application flow configured as a specific mount-point which survives system reboots and starts automatically, you can setup LucidLink client to run as a Windows service. 

You can start/stop your service through Windows Service Manager and have it depend on additional services and applications.  

Please consult the following steps from our command line interface with lucid2 help service.

usage:
lucid2 service [--status]
lucid2 service --install
lucid2 service --uninstall
lucid2 service --start
lucid2 service --stop


Manage the lucid2 service - requires Windows Administrator privileges (run commands from Administrator console)


Once lucid2 is running, use lucid2 link command to link to a file space. When running as a service,options to lucid2 link will be securely persisted in the OS. If the service is restarted any previously persisted link options are automatically reused.


Options:


    [--status]               Display information about the current state of the lucid2 service
    --install                Install lucid2 as a service
    --uninstall              Uninstall lucid2 as a service
    --start                  Start lucid2 service.
    --stop                   Stop lucid2 service

 

Example usage will be that you open a command prompt with Run as Administrator to install and start the service:

 

lucid2 service --install
Lucid has been successfully registered as a service.


lucid2 service --start
Starting Lucid...
Lucid started.


Now that the service is installed and started, the service/daemon is awaiting link instructions. Once the link command is provided the settings will persist and resume automatically when restarted at reboot. 

lucid2 link --fs <filespace.domain> --user <user> --password <password> --mount-point <mount-point>
If your password contains special characters, enclosing it in double quotes is recommended:
lucid2 link --fs <filespace.domain> --user <user> --password "$ecure&SafePassword" --mount-point <mount-point>

In cases where an inconsistent file index is detected (because of corrupted cache or a long period where LucidLink was not used on a particular machine) you might need to reset it. You can set the --allow-reset-local-fs flag to the link command to automatically apply this.

 

Please note automatic linking to a Filespace is not guaranteed if Internet connection is not available 

 

Was this article helpful?

0 out of 0 found this helpful