pkgfile icon indicating copy to clipboard operation
pkgfile copied to clipboard

pkgfile-update.timer: WantedBy= directive

Open davidfields opened this issue 1 year ago • 1 comments

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

davidfields avatar Sep 26 '24 03:09 davidfields

Sure, would be happy to take a patch for this.

falconindy avatar Sep 29 '24 17:09 falconindy