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 systemd preset #77

Open
RyanSquared opened this issue Oct 1, 2018 · 2 comments
Open

Add systemd preset #77

RyanSquared opened this issue Oct 1, 2018 · 2 comments

Comments

@RyanSquared
Copy link
Member

https://www.freedesktop.org/software/systemd/man/systemd.preset.html

This helps stop issues such as units enabling themselves on-install or on-update.

@daurnimator daurnimator changed the title Add systemd preset unit Add systemd preset Oct 1, 2018
@RyanSquared
Copy link
Member Author

I think we should do this on a case by case basis for units that we want restarted. I dunno the original context of this. Maybe it was because of an nginx installation?

@daurnimator
Copy link
Member

The problem was that we'd e.g. install nginx (so that users can use it as a user); but debian defaults to starting all daemons on installation.

You can write a systemd-preset so that installing doesn't automatically = starting.

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

No branches or pull requests

2 participants