Article 5JW49 [SOLVED] Why no .want symlink created as expected?

[SOLVED] Why no .want symlink created as expected?

by
Felthorn3
from LinuxQuestions.org on (#5JW49)
So I'm learning a bit about systemd for the first time and have a bit of confusion regarding the WantedBy= section of a .service file. I'm in Ubuntu 20.04 and in this instance I'm looking at the rsync.service file in /lib/systemd/system. In the WantedBy= section it indicates multi-user.target. According to the verbiage below at https://www.freedesktop.org/software...temd.unit.html, I should see a symlink in the multi-user.target.wants directory:

"A symbolic link is created in the .wants/ or .requires/ directory of each of the listed units when this unit is installed by systemctl enable."

I have checked whether the service is enabled via 'systemctl list-unit-files --type=service' and the rsync service is listed as enabled in the 'STATE' column/field.

Amy I assuming incorrectly then, that a symlink should be present in the multi-user.target.wants directory? If so, why?

Edit: found what I was looking for I believe in /etc/systemd/system/multi-user.target.wants/latest?d=yIl2AUoC8zA latest?i=cO9e1JGvOlA:tP-MCQygESk:F7zBnMy latest?i=cO9e1JGvOlA:tP-MCQygESk:V_sGLiP latest?d=qj6IDK7rITs latest?i=cO9e1JGvOlA:tP-MCQygESk:gIN9vFwcO9e1JGvOlA
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments