summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2024-08-27 19:22:53 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2024-08-27 19:22:53 -0500
commit5bc5fc063a94bc2225215057a638371168e08aa8 (patch)
tree8e146d3d47436171f37e42c2ec446c77c6187265
parentf6f3fc6f11cd186cce30dd66b6ae7ea8fdf10116 (diff)
downloadpackages-5bc5fc063a94bc2225215057a638371168e08aa8.tar.gz
packages-5bc5fc063a94bc2225215057a638371168e08aa8.tar.bz2
packages-5bc5fc063a94bc2225215057a638371168e08aa8.tar.xz
packages-5bc5fc063a94bc2225215057a638371168e08aa8.zip
user/systemd: Add reload triggerwti/scaly
-rw-r--r--user/systemd/APKBUILD1
-rw-r--r--user/systemd/systemd.trigger3
2 files changed, 4 insertions, 0 deletions
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