Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"systemctl enable --user" incorrectly relies on multi-user.target #19

Open
emersonrp opened this issue Apr 5, 2023 · 0 comments
Open

Comments

@emersonrp
Copy link

emersonrp commented Apr 5, 2023

On at least some distributions, there's no "multi-user.target" for user systemd units. The file that ends up at /usr/lib/systemd/user/mpd-discord.service should contain "default.target" in place of "multi-user.target" in the [Install] section.

As it is, "systemctl enable --user mpd-discord.service" will throw a warning and the service will not start at login time as intended.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant