Skip to content

systemd service out-of-the-box usability #410

Description

@orlitzky

The last bit of #41 made some substitutions into the systemd service script that are no longer relevant after the switch to Type={simple,notify}. For the substitutions to work, we had to involve sed via "make," like we now do for the sample configs and OpenRC service script.

I don't have a systemd system handy, but it looks like the sed substitutions may still be required? If I build OpenDKIM and look in the systemd service...

EnvironmentFile=-${prefix}/etc/sysconfig/opendkim
ExecStart=${exec_prefix}/sbin/opendkim -f $OPTIONS
ExecPaths=${exec_prefix}/sbin/opendkim /usr/lib

Does that actually work? Or do we need to sed out the indirection still?

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