diff options
author | Julien Roy <julien@jroy.ca> | 2022-04-17 22:22:48 -0400 |
---|---|---|
committer | Julien Roy <julien@jroy.ca> | 2022-04-17 22:24:02 -0400 |
commit | 76e22a87d129c55a397f9356effd6f0ab0a009a2 (patch) | |
tree | e15f5616755fc5ba05bdda0fc412e95b583f6c91 /app-crypt | |
parent | app-misc/walld: initial import (diff) | |
download | guru-76e22a87d129c55a397f9356effd6f0ab0a009a2.tar.gz guru-76e22a87d129c55a397f9356effd6f0ab0a009a2.tar.bz2 guru-76e22a87d129c55a397f9356effd6f0ab0a009a2.zip |
app-crypt/tang: Removed systemd USE flag
Signed-off-by: Julien Roy <julien@jroy.ca>
Diffstat (limited to 'app-crypt')
-rw-r--r-- | app-crypt/tang/tang-11.ebuild | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/app-crypt/tang/tang-11.ebuild b/app-crypt/tang/tang-11.ebuild index 94b1883d7..5bf2f8ce2 100644 --- a/app-crypt/tang/tang-11.ebuild +++ b/app-crypt/tang/tang-11.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/latchset/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64" -IUSE="systemd" +IUSE="" DEPEND="acct-user/tang app-text/asciidoc @@ -31,22 +31,15 @@ src_install(){ fowners tang:tang /var/db/tang fperms 770 /var/db/tang - if use systemd; then - insinto /usr/lib/systemd/system - doins ${FILESDIR}/tangd.service - fi + insinto /usr/lib/systemd/system + doins ${FILESDIR}/tangd.service } pkg_postinst(){ einfo "By default, tang runs on port 8888 and listens on address 0.0.0.0" einfo "It also stores JWKs in /var/db/tang." - if use systemd; then - einfo "If you want to change this, modify /usr/lib/systemd/system/tangd.service directly." - else - einfo "If you want to change this, modify /etc/init.d/tangd directly." - fi - - if use systemd; then - systemctl daemon-reload - fi + einfo "If you want to change this, modify /etc/init.d/tangd or" + einfo "/usr/lib/systemd/system/tangd.service directly." + + systemctl daemon-reload || die } |