Skip to content

Correct way to set log directory (HOPM_LOGDIR)? #51

@Strykar

Description

@Strykar

Hi,

I am trying to package hopm for Arch linux AUR and am flummoxed with the hard coded log path.

Reading INSTALL.md tells me the logdir isn't configurable via /etc/hopm/hopm.conf, why is this?

  • Why not offer a --log-dir option via --configure?
  • Am I missing something or would setting --prefix to /usr install logs to /usr/var/logs/hopm/?

Requiring me to patch the Makefile for Arch linux with:
sed -i 's|-DHOPM_LOGDIR="\\\"$(localstatedir)/log\\\""|-DHOPM_LOGDIR="\\\"/var/log/hopm\\\""|' Makefile.am

Is this correct or have I misunderstood something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions