[Ole Aamot]
As you can see, nikita-noark5-core fails to boot as a systemd service with the executable parameter in /etc/systemd/system/nikita-noark5-core.service
Here is the nikita.service file I have been playing with.
[Unit] Description=Nikita Noark 5 service interface After=network.target nss-user-lookup.target nslcd.service keycloak.service
[Install] WantedBy=multi-user.target
[Service] User=ark-nikita-t #Environment="DB_URI='jdbc:postgresql://some.host:5432/psql_database_name DB_USER='nikita_noark5_user' DB_PASS='secret'" ExecStart=java -jar -Dspring.jpa.show-sql=false -Dspring.main.banner-mode=off -Dnikita.startup.base-directory=/opt/nikita/data/test/system-service -Dspring.security.oauth2.client.provider.keycloak.issuer-uri=https://keycloak.host/keycloak/realms/recordkeeping/ /opt/nikita/target/nikita-noark5-core-0.7.jar Type=simple Restart=on-failure TimeoutStartSec=infinity
Note, I have not yet completed the Postgresql integration, so the DB_* variables are not yet properly set, and not tested (hense the commented out part). The keycloak integration is not yet working either, most likely because of misconfiguration of my test instance of keycloak.