`@sysconfdir@` replaced with `${prefix}/etc` in `monit.service`

Issue #968 resolved
Ulrich Windl created an issue

After running configure and make, monit.service has ${prefix}/etc (expanded from @sysconfdir@) in ExecStart=, ExecStop= and ExecReload=.

Shouldn’t that be the value expanded to /etc only?

Comments (3)

  1. Tildeslash repo owner

    Fixed: Issue #968: The systemd and upstart templates used to set the path to the configuration file in the sysconfdir, which is optionally set during the compilation. That path wasn't fully expanded. The template now doesn't specify the explicit path and lets monit search for the configuration file in all supported locations (including the sysconfdir).

    → <<cset ae0b84c97c0f>>

  2. Ulrich Windl reporter

    Just an additional note: Even with the error described, the systemd unit seemed to work; maybe that’s why the error remained undetected for some time.

  3. Log in to comment