Update systemd documentation and systemd examples#894
Merged
Conversation
…logged in. Add example for an always running systemd service
robinvd
requested changes
Mar 3, 2021
robinvd
left a comment
Contributor
There was a problem hiding this comment.
Thanks for the PR! more/better docs are always welcome.
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
eladyn
requested changes
Feb 13, 2022
eladyn
left a comment
Member
There was a problem hiding this comment.
I don't know, if you are still interested in this @tomodachi, but if you are (which would be great), I have some small suggestions. Other than that, LGTM.
Co-authored-by: eladyn <59307989+eladyn@users.noreply.github.com>
Co-authored-by: eladyn <59307989+eladyn@users.noreply.github.com>
Member
|
@robinvd this look good to you? |
robinvd
approved these changes
Sep 29, 2022
Icelk
pushed a commit
to Icelk/spotifyd
that referenced
this pull request
Nov 17, 2022
Clarify that a systemd user service actually only works when user is logged in. Add example for an always running systemd service Co-authored-by: Eric S. Londres <ericlondres@outlook.com> Co-authored-by: eladyn <59307989+eladyn@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi people
It's not clear from the systemd example exactly how a user systemd service works.
With the given example spotifyd will only be started when the user logs in to the system
and it will also be stopped as soon as the user logs out.
That might not be a expected behaviour for a setup like a small headless device always connected to your speakers.
So I've added an example for that and made some clarifications.