aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-portage/puppy/puppy-9999.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/app-portage/puppy/puppy-9999.ebuild b/app-portage/puppy/puppy-9999.ebuild
index 23801cb..e3f8e69 100644
--- a/app-portage/puppy/puppy-9999.ebuild
+++ b/app-portage/puppy/puppy-9999.ebuild
@@ -5,7 +5,7 @@ EAPI=8
PYTHON_COMPAT=( python3_{10..13} )
-inherit python-single-r1
+inherit python-single-r1 systemd
DESCRIPTION="Utility for compiling packages on remote hosts using Portage"
HOMEPAGE="https://gitlab.com/doasu/puppy"
@@ -38,6 +38,11 @@ src_install() {
if use server; then
python_doscript puppyd
+
+ newconfd "${S}/packaging/puppyd.conf.d" puppyd
+ newinitd "${S}/packaging/puppyd.init.d" puppyd
+
+ systemd_newunit packaging/puppyd.service puppyd.service
fi
if use client; then