On Wed, 2021-06-30 at 09:14 -0400, Jonathan Billings wrote:
On Wed, Jun 30, 2021 at 07:57:37PM +0800, Ed Greshko wrote:
I put my service file in ~/.config/systemd/user. Then I have to disable/enable the service for the change to take effect. Then I see....
[egreshko@f34k2 ~]$ ll .config/systemd/user/ total 4 -rw-r--r--. 1 egreshko egreshko 186 Jun 30 19:31 metest.service drwxr-xr-x. 1 egreshko egreshko 28 Jun 30 19:31 plasma- core.target.wants
after the service has been enabled.
And in the .config/systemd/user/plasma-core.target.wants/ directory, there should be a symlink to the service you enabled. That's how systemd units are "enabled", they're just symlinks in target requirement (".wants") directories.
I think that's set up by "systemctl enable --user ...".
poc