Skip to content
Snippets Groups Projects
Unverified Commit 659b9c43 authored by Caleb Connolly's avatar Caleb Connolly :recycle:
Browse files

systemd: add triggers for reloading/restarting services


What we want is to reload services that need to be reloaded after
upgrade (those that are marked with needs-reload or needs-restart), to
handle systemctl daemon-reload too, and to reload udev, sysusers,
tmpfiles, etc.

This all needs to be done in a particular order, which we would ideally
do with different triggers (and triggers with consistent ordering!), but
apk can't do that so instead we have this inefficient solution which
will probably do a bunch of useless processing. ah well

Signed-off-by: default avatarCaleb Connolly <caleb@postmarketos.org>
Part-of: !6334
parent 0ddba42a
No related branches found
No related tags found
1 merge request!6334systemd: refactor apk macros and add reload/restart support
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment