From 5bc5fc063a94bc2225215057a638371168e08aa8 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Tue, 27 Aug 2024 19:22:53 -0500 Subject: user/systemd: Add reload trigger --- user/systemd/APKBUILD | 1 + user/systemd/systemd.trigger | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 user/systemd/systemd.trigger diff --git a/user/systemd/APKBUILD b/user/systemd/APKBUILD index adf31df9f..2c47704d2 100644 --- a/user/systemd/APKBUILD +++ b/user/systemd/APKBUILD @@ -8,6 +8,7 @@ arch="all" license="LGPL-2.1-only" depends="kmod" makedepends="utmps-dev linux-pam-dev acl-dev libidn2-dev libqrencode-dev libgpg-error-dev libgcrypt-dev gnutls-dev bzip2-dev xz-dev lz4-dev zstd-dev pcre2-dev py3-jinja2 meson util-linux-dev libcap-dev gperf kmod-dev" +triggers="$pkgname.trigger=/lib/systemd/system" replaces="eudev eudev-libs elogind" provides="eudev=4.0.0 elogind=$pkgver udev=$pkgver" subpackages="$pkgname-dev $pkgname-doc" diff --git a/user/systemd/systemd.trigger b/user/systemd/systemd.trigger new file mode 100644 index 000000000..4ea11bdb4 --- /dev/null +++ b/user/systemd/systemd.trigger @@ -0,0 +1,3 @@ +#!/bin/sh + +systemctl daemon-reload -- cgit v1.2.3-70-g09d2