commit:     435b6b96cb51d5a1c430a8040e7e87c717a948b4
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Tue Nov  9 19:10:16 2021 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Tue Nov  9 19:16:28 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=435b6b96

sci-electronics/labone: Various fixes and improvements

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 sci-electronics/labone/files/hf2-data-server                        | 2 +-
 sci-electronics/labone/files/hf2-data-server.conf                   | 2 ++
 sci-electronics/labone/files/labone-data-server                     | 6 ++++--
 sci-electronics/labone/files/labone-data-server.conf                | 2 ++
 .../{labone-21.08.20515.ebuild => labone-21.08.20515-r1.ebuild}     | 2 ++
 5 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/sci-electronics/labone/files/hf2-data-server 
b/sci-electronics/labone/files/hf2-data-server
old mode 100755
new mode 100644
index c9bc2807afc..b9fa83ad3ac
--- a/sci-electronics/labone/files/hf2-data-server
+++ b/sci-electronics/labone/files/hf2-data-server
@@ -7,5 +7,5 @@ command="/opt/bin/ziServer"
 command_args=""
 
 depend() {
-    need network
+    need net
 }

diff --git a/sci-electronics/labone/files/hf2-data-server.conf 
b/sci-electronics/labone/files/hf2-data-server.conf
index 3f9caccc070..db93c775c45 100644
--- a/sci-electronics/labone/files/hf2-data-server.conf
+++ b/sci-electronics/labone/files/hf2-data-server.conf
@@ -1,2 +1,4 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
+
+# Configuration file for hf2-data-server

diff --git a/sci-electronics/labone/files/labone-data-server 
b/sci-electronics/labone/files/labone-data-server
old mode 100755
new mode 100644
index cf56478deb1..62b5cab8521
--- a/sci-electronics/labone/files/labone-data-server
+++ b/sci-electronics/labone/files/labone-data-server
@@ -4,8 +4,10 @@
 
 pidfile="/run/labone-data-server.pid"
 command="/opt/bin/ziDataServer"
-command_args=""
+command_args="-l /var/log/labone"
+supervisor=supervise-daemon
+command_user=nobody
 
 depend() {
-    need network
+    need net
 }

diff --git a/sci-electronics/labone/files/labone-data-server.conf 
b/sci-electronics/labone/files/labone-data-server.conf
index 3f9caccc070..bee6a54310f 100644
--- a/sci-electronics/labone/files/labone-data-server.conf
+++ b/sci-electronics/labone/files/labone-data-server.conf
@@ -1,2 +1,4 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
+
+# Configuration file for labone-data-server

diff --git a/sci-electronics/labone/labone-21.08.20515.ebuild 
b/sci-electronics/labone/labone-21.08.20515-r1.ebuild
similarity index 97%
rename from sci-electronics/labone/labone-21.08.20515.ebuild
rename to sci-electronics/labone/labone-21.08.20515-r1.ebuild
index 59b71058933..0c0c263143f 100644
--- a/sci-electronics/labone/labone-21.08.20515.ebuild
+++ b/sci-electronics/labone/labone-21.08.20515-r1.ebuild
@@ -67,6 +67,8 @@ src_install() {
 
                make_desktop_entry /opt/bin/startziWebServer "ZI LabOne" 
zi-labone "Science;Physics;Engineering"
 
+               keepdir /var/log/labone
+               fowners nobody /var/log/labone
        else
 
                insinto "${installation_directory}/API/C/lib"

Reply via email to