Skip to content

Annis as a service in /etc/systemd/system #861

Description

@gcelano

There is a problem with Annis finding the directory for the database in application.properties. If I leave the default values

annis.webservice-config=${user.home}/.annis/service.toml
spring.datasource.url=jdbc:h2:file:${user.home}/.annis/v4/frontend_data.h2

Annis starts, but no database is shown. In fact, my system user/group is annis, and therefore I guess there may be a problem with the value of ${user.home}, because the database is in /home/celano/.annis ...

If I try to substitute ${user.home} with /home/celano/, then I get the error:

java.net.ConnectException: Failed to connect to localhost/[0:0:0:0:0:0:0:1]:5711

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions