Commit 0b00397f authored by Leo's avatar Leo
Browse files

community/elogind: add support for reloading

parent 78256a29
......@@ -2,7 +2,7 @@
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=elogind
pkgver=243.4
pkgrel=3
pkgrel=4
pkgdesc="Standalone fork of systemd's elogind"
url="https://github.com/elogind/elogind"
arch="all"
......@@ -97,4 +97,4 @@ bashcomp() {
}
sha512sums="9751a3d0ed65dd73d9363097ee1752d437d5636db2a4137395596e0c81e04d4715f314568d1d7c6f367f1ecbda011086cb165bd4dc207302626b16e693cd0a02 elogind-243.4.tar.gz
da03ea5d8805fa8c1cbb679ea067bd5b1542345f55882a80bd8633661bd360a5299023eae94ee6cde3ef9cfd9366d477f1894ae0f1371cca37ccebdc6cc7b94d elogind.initd"
df3f56e5860ff2c1103a8f5512e0190c16838e5329b8eba4e77b9f18856be5503d03e3a1b2b3e9be07e5215981dd904f025f409da8440ecafc3ec43ae1e28fa4 elogind.initd"
......@@ -3,6 +3,7 @@ supervisor=supervise-daemon
name="System login manager"
description="System service that manages user logins"
description_reload="Reload configuration without exiting"
command=/usr/libexec/elogind/elogind
......@@ -12,3 +13,11 @@ depend() {
# Make sure we start before any other display manager
before xdm lxdm sddm gdm
}
extra_started_commands="reload"
reload() {
ebegin "Reloading configuration"
$supervisor $RC_SVCNAME --signal HUP
eend $?
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment