After install Spectrum on Linux (RHEL 8) as a non-root user, and start the services as described in the documentation, i.e.
SRAdmin:
systemctl --user start sradmin
Processd:
systemctl --user start processd
SDMConnector:
systemctl --user start sdmconnector
I found the services are terminated/killed when I logout the session. For instance for sradmin, systemctl --user status sradmin, return next
● sradmin.service - LSB: SPECTRUM Remote Administration Daemon
Loaded: loaded (/sw/SPECTRUM/SRAdmin/sradmin.sh; enabled; vendor preset: enabled)
Active: inactive (dead)
Spectrum 10.4.3 (aka 20.2.7)
Red Hat Enterprise Linux 8
This is a known limitation of running systemd services as non-root users.
Unless is configured to behave differently, the services will be terminated as soon as the session where the services were started is ended.
You can change the behavior issuing the next command line as the spectrum owner:
# loginctl enable-linger <spectrum_owner_user>
For instance, if "spectrum" is the Spectrum owner user, the command line would look as follow
# loginctl enable-linger spectrum
After this, every time the spectrum owner logs out, the service will remain running.
This change is persistent after reboots. You may disable it issuing the command line
# loginctl disable-linger spectrum
https://man7.org/linux/man-pages/man1/loginctl.1.html
ls /var/lib/systemd/linger