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.
--
Jonathan Billings <billings(a)negate.org>