Skip to content

pkgfile-update.timer: WantedBy= directive #68

@davidfields

Description

@davidfields

Hi,

In pkgfile-update.timer, I believe that WantedBy=multi-user.target should be WantedBy=timers.target.

The systemd.special man page [1] says the following about timers.target:

A special target unit that sets up all timer units (see systemd.timer(5) for details) that shall be active after boot.

It is recommended that timer units installed by applications get pulled in via Wants= dependencies from this unit. This is best configured via WantedBy=timers.target in the timer unit's [Install] section.

I would be happy to submit a change for this.

Thanks!

[1] https://www.freedesktop.org/software/systemd/man/devel/systemd.special.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions