How to configure Spectrum 21.2.4 non-root installation to have sradmin and processd services automatically start after system reboot
Release : 21.2
Component : SPECTRUM INSTALLATION
1) edit sradmin.service and do the modifications as below:
~~~
[Unit]
Modify this line as below "SourcePath=/sw/SPECTRUM/SRAdmin/sradmin.sh"
SourcePath=/sw/SPECTRUM/SRAdmin
Add and update the below content under [Service] section in the same file,
[Service]
TimeoutSec=0
ExecStart=/bin/bash -c "/sw/SPECTRUM/SRAdmin/sradmin.sh start"
ExecStop=/bin/bash -c "/sw/SPECTRUM/SRAdmin/sradmin.sh stop"
Restart=always
RestartSec=60
Change the WantedBy field also as below,
[Install]
WantedBy=default.target
2) Re-enable the sradmin.service as below,
$ systemctl --user disable sradmin.service
$ systemctl --user daemon-reload
$ systemctl --user enable sradmin.service
3) Check if you are able stop and start the service manually.
4) Then reboot the system and verify that after reboot the service is up and running.
This fix will be included in upcoming releases.
The same above steps will be applicable for processd.service as well.