diff --git a/app-misc/repositorg/ChangeLog b/app-misc/repositorg/ChangeLog index 09a912a..ef5c933 100644 --- a/app-misc/repositorg/ChangeLog +++ b/app-misc/repositorg/ChangeLog @@ -1,2 +1,6 @@ + 11 Jun 2020; +files/repositorg_uuid.initd, + repositorg-9999.ebuild: + app-misc/repositorg: OpenRC script + 12 May 2019; +metadata.xml, repositorg-9999.ebuild: app-misc/repositorg: Updated metadata and systemd USE functionality diff --git a/app-misc/repositorg/files/repositorg_uuid.initd b/app-misc/repositorg/files/repositorg_uuid.initd new file mode 100644 index 0000000..bf1620f --- /dev/null +++ b/app-misc/repositorg/files/repositorg_uuid.initd @@ -0,0 +1,14 @@ +#!/sbin/openrc-run +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +name="repositorg daemon" +description="" +supervisor=supervise-daemon +pidfile=/var/run/repositorg_uuid.pid + +command="/usr/bin/repositorg_uuid" +command_args="${repositorg_args}" +command_user="${RC_SVCNAME#*.}" + +output_log="/var/log/${RC_SVCNAME}/${RC_SVCNAME}.log" diff --git a/app-misc/repositorg/repositorg-9999.ebuild b/app-misc/repositorg/repositorg-9999.ebuild index e98cff1..2da645e 100644 --- a/app-misc/repositorg/repositorg-9999.ebuild +++ b/app-misc/repositorg/repositorg-9999.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=(python2_7 python3_{4,5,6}) +PYTHON_COMPAT=(python3_{6,7,8}) inherit distutils-r1 git-r3 systemd @@ -28,6 +28,8 @@ python_install() { distutils-r1_python_install if use systemd; then systemd_newunit "${FILESDIR}/${PN}_uuid.service" "${PN}_uuid@.service" + else + newinitd "${FILESDIR}/${PN}_uuid.initd" "${PN}_uuid" fi dobin repositorg_uuid }