Hello Aditya,
the following is a verified solution for systemd (
/etc/systemd/system/klaros.service):
12345678910111213 | [Unit] Description=Klaros Testmanagement Service After=syslog.target network.target
[Service] Type=forking User=klaros
ExecStart=/opt/klaros-testmanagement/bin/startup.sh ExecStop=/opt/klaros-testmanagement/bin/shutdown.sh
[Install] WantedBy=multi-user.target |
Please note that the
User=klaros setting requires the creation of a user and setting the correct ownership for
/opt/klaros-testmanagement:
12 | adduser klaros chown -R klaros /opt/klaros-testmanagement |
There is no need to run Klaros under a root account and we discourage users to do so.
Hope this helps, please let me know if this works for you.
Torsten