On Wed, Apr 10, 2024 at 01:29:10PM -0600, Dan Nicholson wrote:
> On Wed, Apr 10, 2024 at 1:21???PM Andrei Borzenkov <arvidj...@gmail.com> 
> wrote:
> Just to be complete, your unit won't be triggered until you see it in
> "systemctl show -p Wants logrotate.service". With
> WantedBy=logrotate.service, you'll also find a symlink to your service
> in /etc/systemd/system/logrotate.service.wants/ once it's enabled.

Ok, double-checking:

  10-153-68-34:~ # systemctl show -p Wants logrotate.service
  Wants=post-logrotate.service
  10-153-68-34:~ # ls -ldtr --full-time
  /etc/systemd/system/logrotate.service.wants/post-logrotate.service
  lrwxrwxrwx 1 root root 42 2024-04-10 15:26:19.187115411 -0400
  /etc/systemd/system/logrotate.service.wants/post-logrotate.service ->
  /etc/systemd/system/post-logrotate.service

-- 
Brian Reichert                          <reich...@numachi.com>
BSD admin/developer at large    

Reply via email to