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

Add "loginctl enable-linger" command to sidekiq systemd install task #246

Merged
merged 2 commits into from
May 26, 2020

Conversation

Paprikas
Copy link
Contributor

Without lingering sidekiq systemd process will be shutdown.

The systemd user instance is started after the first login of a user and killed after the last session of the user is closed. Sometimes it may be useful to start it right after boot, and keep the systemd user instance running after the last session closes, for instance to have some user process running without any open session. Lingering is used to that effect.

From https://wiki.archlinux.org/index.php/Systemd/User

By default loginctl enable-linger enables lingering for current user. We can add variable if needed.

@seuros
Copy link
Owner

seuros commented May 26, 2020

let add a setting for that to enable it and document it.

@Paprikas
Copy link
Contributor Author

@seuros bump

@seuros seuros merged commit 5911434 into seuros:master May 26, 2020
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