install systemd service for sysalert
This commit is contained in:
parent
a9831988a7
commit
1f799f1c74
@ -1 +1 @@
|
||||
EBUILD sysalert-9999.ebuild 651 BLAKE2B 769429e3189b455a95c7dfa8111ac7c58bb5073302d612473b459121815b02e149d6ee658d0c4424970909382c77fc2a3a9d7f92cf08c3d5115fc7834329ce91 SHA512 e9d5896e2b36c23679049aacf18cabae2043f6268c00d75feecd304777deea2793e169cbf27877c8ea5e8f21ee11c0744afc1f3fa0e491ddf6b805c7f68e0938
|
||||
EBUILD sysalert-9999.ebuild 956 BLAKE2B cf5e6500b7ad2fcf09315470970831d360547a70af69291051d591ef2b079dc85d6afbf3a5b3cd20bfc6a311101b6bcf1d6f401557478bd6338887e013eb694f SHA512 8f0184f2bd5e310e2e66ddeeb71119cf710b89defb026956779359fdb1dec29330fd5b594c2ba17df97f827b814775eb5c036f53b087e6e9158c5efa6e0d8f47
|
||||
|
@ -6,7 +6,8 @@ EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11,12,13} )
|
||||
inherit distutils-r1
|
||||
|
||||
inherit distutils-r1 systemd
|
||||
|
||||
DESCRIPTION="Systemd failure handler"
|
||||
HOMEPAGE="https://gitea.fulh.ax/feffe/sysalert"
|
||||
@ -20,10 +21,19 @@ else
|
||||
KEYWORDS="amd64 arm64"
|
||||
fi
|
||||
|
||||
|
||||
RESTRICT="mirror"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND} dev-python/python-systemd"
|
||||
BDEPEND=""
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
systemd_dounit systemd/sysalert-*.service
|
||||
systemd_install_dropin sysalert-.service systemd/overrides/sysalert-.service.d.conf
|
||||
systemd_install_dropin service systemd/overrides/service.d.conf
|
||||
insinto /etc
|
||||
doins config/sysalert.ini
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user