aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>2023-11-02 02:51:02 +0100
committerHaelwenn (lanodan) Monnier <contact@hacktivis.me>2023-11-02 02:51:15 +0100
commitd47bda2b714bd9ed47aeb2538afc7913e615dce7 (patch)
tree4d6bbf29ce3c1f07abc817d0f3023a45f0abec1a /www-apps
parentgpg --list-secret-keys --keyid-format=long (diff)
downloadguru-d47bda2b714bd9ed47aeb2538afc7913e615dce7.tar.gz
guru-d47bda2b714bd9ed47aeb2538afc7913e615dce7.tar.bz2
guru-d47bda2b714bd9ed47aeb2538afc7913e615dce7.zip
www-apps/pleroma: Install OpenRC script
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/pleroma/pleroma-2.6.0.ebuild2
-rw-r--r--www-apps/pleroma/pleroma-9999.ebuild2
2 files changed, 4 insertions, 0 deletions
diff --git a/www-apps/pleroma/pleroma-2.6.0.ebuild b/www-apps/pleroma/pleroma-2.6.0.ebuild
index 1bcae78dd..6cff0375c 100644
--- a/www-apps/pleroma/pleroma-2.6.0.ebuild
+++ b/www-apps/pleroma/pleroma-2.6.0.ebuild
@@ -84,6 +84,8 @@ src_install() {
fperms 0750 /opt/pleroma
fowners 0:pleroma /opt/pleroma
+ doinitd ./pleroma/installation/init.d/pleroma
+
dosym /opt/pleroma/bin/pleroma /usr/bin/pleroma
dosym /opt/pleroma/bin/pleroma_ctl /usr/bin/pleroma_ctl
diff --git a/www-apps/pleroma/pleroma-9999.ebuild b/www-apps/pleroma/pleroma-9999.ebuild
index 1ac09596c..40b401f54 100644
--- a/www-apps/pleroma/pleroma-9999.ebuild
+++ b/www-apps/pleroma/pleroma-9999.ebuild
@@ -85,6 +85,8 @@ src_install() {
fperms -R g-w,o= /opt/pleroma
fowners -R 0:pleroma /opt/pleroma
+ doinitd ./pleroma/installation/init.d/pleroma
+
dosym /opt/pleroma/bin/pleroma /usr/bin/pleroma
dosym /opt/pleroma/bin/pleroma_ctl /usr/bin/pleroma_ctl