Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

pkgfile-update.timer: WantedBy= directive #68

Open
davidfields opened this issue Sep 26, 2024 · 0 comments
Open

pkgfile-update.timer: WantedBy= directive #68

davidfields opened this issue Sep 26, 2024 · 0 comments

Comments

@davidfields
Copy link

davidfields commented Sep 26, 2024

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant