Systemd User Service Wont Start
Systemd User Service Wont Start
What happened
My systemd service clash won’t start on boot, which is under user mode.
What I’ve done:
-
In
[Unit], ChangeAfter=network.targettoAfter=default.target. This is because that in user mode systemd services don’t know about system level targets likenetwork.target.You can view all the system level targets by
systemctl list-units -a, and user level targets bysystemctl --user list-units -a.
This post is licensed under
CC BY 4.0
by the author.