Installing a Call API DLL

Status
Not open for further replies.

Mark Kingston

Customer
Joined
May 6, 2017
Messages
12
Reaction score
1
Does anyone know how to install a Call API DLL / EXE into the Linux installation.

The Call API project that does what I want, but it's running from the VS Code Debugger as the logged in user.

The next step is to install it so that it's started with / after the 3CX server and running as the 3CX user so that it can create files in the provisioning folder.

Any ideas would be greatly appreciated.
 
The first trick is in how your project is published. In Visual Studio (I don't use VS Code) publish your project with a target runtime of "linux-x64". I would strongly recommend you build the project as self-contained rather than installing the .Net SDK on your 3CX server.

Copy the entire contents of your published application to a folder on the Linux server. Be sure to give execute permissions to your executable. Then, to automatically start your application as a daemon, you will need to create a services file and register it with systemd.

You have a lot of investigation to do my friend. Way more than we can reasonably help you in the forums, but hopefully the above will get you going in the right direction.
 
  • Like
Reactions: Evolute IT
Status
Not open for further replies.

Latest Posts

Forum statistics

Threads
111,990
Messages
590,161
Members
164,925
Latest member
batarong