|
The Xentara Licence Server v1.0
User Manual
|
Under Linux, the Xentara licence server package contains a service unit file for the systemd service manager. The file is a template unit file that allows you to enable a service that will automatically start the Xentara licence server when the system is started.
The Xentara licence server systemd unit is called xentara-licence-server@.service. The @ symbol at the end of the name tells systemd that this is a template unit file. systemd expects the template parameter to be placed after the @ symbol when referring to the service. The template parameter for the Xentara licence server service is the username of the Linux user under which the Xentara licence server should be run.
Enter the following command in a shell to tell systemd to start a service that runs the Xentara licence server as the Linux user username:
The Xentara licence server will be run without parameters, and will thus search for licence and configuration files in the default locations. You should normally place the licence and configuration files in the user’s home directory under .config/xentara-licence-server/. For instance, for the user username used in the examples on this page, the licence files should be placed in the directory ~username/.config/xentara-licence-server/licence/.
You can stop and start the service using the following commands:
To restart the service (e.g. to reload a changed configuration file), use the following command:
You can print the status of the Xentara licence server service, together with the last log entries, using the following command:
You can show more log entries using the journalctl(1) command. To show the last 100 log entries, you can use the following command, for example:
To show log entries as they are printed, you can use the following command:
journalctl has many filtering and output options, which are described in the journalctl(1) man page.
To disable the service entirely, so that the Xentara licence server is no longer started automatically, use the following command: