shell-server icon indicating copy to clipboard operation
shell-server copied to clipboard

Add systemd preset

Open RyanSquared opened this issue 7 years ago • 2 comments

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

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

RyanSquared avatar Oct 01 '18 05:10 RyanSquared

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?

RyanSquared avatar Apr 09 '20 18:04 RyanSquared

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.

daurnimator avatar Apr 10 '20 01:04 daurnimator