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

user service cannot depend on multi-user (system) target #1339

Merged
merged 1 commit into from
Dec 13, 2024

Conversation

petersilva
Copy link
Contributor

ugh... got these error messages:

pas037@hpfx3:~/.config/systemd/user$ systemctl --user enable metpx-sr3_user
 ...
Unit /home/pas037/.config/systemd/user/metpx-sr3_user.service is added as a dependency to a non-existent unit multi-user.target.
...
pas037@hpfx3:~/.config/systemd/user$

Googled a bit, I think this means that it will not be started on boot. a user level systemd service cannot depend on a
system-wide one. I tried removing the [Install] stanza, but that broke it... so changed the target to default.target after
googling. That should make it start on boot.

@petersilva petersilva marked this pull request as ready for review December 12, 2024 15:55
@petersilva
Copy link
Contributor Author

the tests are irrelevant. They don't test this change.

@petersilva petersilva merged commit 626ad77 into development Dec 13, 2024
33 of 57 checks passed
@petersilva petersilva deleted the hotdir_demo branch December 13, 2024 22:06
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

Successfully merging this pull request may close these issues.

2 participants