LucidLink as a Windows service
Modified on: Fri, 11 Jan, 2019 at 1:15 PM
If you'd like to have LucidLink OS client running as a service under Windows please consult the following steps.
This configuration will leverage a 3rd party service manager NSSM - the Non-Sucking Service Manager and comprise of two LucidLink component services to perform necessary OS client operations of running a daemon and Linking to your file space.
LucidLink running as a daemon (delayed automatic start)
LucidLink performing a Link operation (delayed automatic start) and (depending on Lucid daemon service)
Install service for Lucid daemon:
nssm install LucidDaemon "C:\Program Files\Lucid\resources\Lucid.exe" daemon
nssm set LucidDaemon start service_delayed_auto_start
Install service for Lucid client link:
nssm install LucidLink "C:\Program Files\Lucid\resources\Lucid.exe" link --fs <filespace> --password <sharedsecret> --mount-point <directory/drive>
nssm set LucidLink DependOnService LucidDaemon
nssm set LucidLink start SERVICE_DELAYED_AUTO_START
nssm start LucidDaemon
nssm start LucidLink
Note: You may find that for NSSM to run services non-interactively on some Windows versions you may need to set an additional registry key. To resolve this add DWORD AppNoConsole with a value of 1 under HKLM\System\CurrentControlSet\Services\<servicename>\Parameters
Did you find it helpful?
Sorry we couldn't be helpful. Help us improve this article with your feedback.