Just to document a steps for further searchers.
If you have a systemd enabled linux distro, you need to install DS as a service.
Create /lib/systemd/system/directslave.service with content
INI:
[Unit]
Description=DirectSlave for DirectAdmin
After=network.target
[Service]
Type=simple
User=named <- replace this with bind in some cases
ExecStart=/usr/local/directslave/bin/directslave --run
Restart=always
[Install]
WantedBy=multi-user.target
then do
# systemctl start directslave
# systemctl enable directslave
and voila.
# systemctl status directslave
● directslave.service - DirectSlave for DirectAdmin
Loaded: loaded (/lib/systemd/system/directslave.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2020-12-24 23:24:13 CET; 1min 24s ago
Main PID: 610 (directslave)
Tasks: 8 (limit: 501)
Memory: 10.0M
CGroup: /system.slice/directslave.service
└─610 /usr/local/directslave/bin/directslave --run
Dec 24 23:24:13 vps*********************** systemd[1]: Started DirectSlave for DirectAdmin.
Dec 24 23:24:14 vps*********************** directslave[610]: *** Starting DirectSlave GO/3.4.1 Advanced server ***
Dec 24 23:24:14 vps*********************** directslave[610]: *** (c) Roman Mazur <
[email protected]> 2012-2020 ***
Dec 24 23:24:14 vps*********************** directslave[610]: Going background.
@bdacus01 I think you can add some systemd automation into your installation script.