solidDB Help : Configuring and administering : Administering solidDB : Running solidDB server as a Linux systemd service
  
Running solidDB server as a Linux systemd service
A solidDB server can be run as a systemd service in Linux. solidDB uses the systemd notify facility to inform it about database startup and shutdown.
Installing the solidDB systemd service
Before you begin
The database must have been created before running solidDB as a systemd service.
Procedure
solidDB requires a systemd.service file. See man 5 systemd.service for details. Example file is provided below:
Example
soliddb.service
[Unit]
Description=solidDB
Documentation=https://support.unicomsi.com/manuals/soliddb/200
After=network-online.target
Wants=network-online.target
[Service]
Type=notify
User=soliddb # soliddb user
ExecStart=/opt/soliddb/200/bin/solid -s -C /path/to/solid.ini_and_solid.lic
ExecReload=/bin/kill -TERM $MAINPID # send SIGTERM to solid
KillMode=process
TimeoutSec=infinity # Wait for database to properly shutdown
[Install]
WantedBy=multi-user.target
Place the solidDB.service file to /etc/systemd/system directory.
Reload systemd configuration.
systemctl daemon-reload
Enable solidDB service
systemctl enable soliddb.service
Start solidDB service
systemctl start soliddb.service
To troubleshoot systemd service startup use:
journalctl -xe
solidDB will write only minimal logging information to system logging facilities. All solidDB outputs are written in solidDB current directory (specified with -C) regardless of systemd usage.
Go up to
Running solidDB server as a Windows service