summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2021-06-11 20:27:50 +0200
committerPacho Ramos <pacho@gentoo.org>2021-06-11 20:34:34 +0200
commite3ca911b12cb1ec292f6d15535c0beef3faa0549 (patch)
tree9d2aa278614dcac8d34d4f0b72aaea841f8d9410 /sci-mathematics/rstudio
parentsci-mathematics/rstudio: Fix build with boost-1.76.0 (diff)
downloadgentoo-e3ca911b12cb1ec292f6d15535c0beef3faa0549.tar.gz
gentoo-e3ca911b12cb1ec292f6d15535c0beef3faa0549.tar.bz2
gentoo-e3ca911b12cb1ec292f6d15535c0beef3faa0549.zip
sci-mathematics/rstudio: Fix server startup scripts
Closes: https://bugs.gentoo.org/765856 Thanks-to: viktor.polak Thanks-to: François Valenduc Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'sci-mathematics/rstudio')
-rw-r--r--sci-mathematics/rstudio/files/rstudio-server.initd6
-rw-r--r--sci-mathematics/rstudio/files/rstudio-server.service.in1
-rw-r--r--sci-mathematics/rstudio/rstudio-1.3.1093-r1.ebuild (renamed from sci-mathematics/rstudio/rstudio-1.3.1093.ebuild)0
3 files changed, 6 insertions, 1 deletions
diff --git a/sci-mathematics/rstudio/files/rstudio-server.initd b/sci-mathematics/rstudio/files/rstudio-server.initd
index caa7e46d5df8..96c1e4f210c1 100644
--- a/sci-mathematics/rstudio/files/rstudio-server.initd
+++ b/sci-mathematics/rstudio/files/rstudio-server.initd
@@ -1,7 +1,11 @@
#!/sbin/openrc-run
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
+depend() {
+ need net
+}
+
start() {
ebegin "Starting RStudio Server"
start-stop-daemon --start --quiet --exec /usr/bin/rserver
diff --git a/sci-mathematics/rstudio/files/rstudio-server.service.in b/sci-mathematics/rstudio/files/rstudio-server.service.in
index fb3e37305e00..08965a836a27 100644
--- a/sci-mathematics/rstudio/files/rstudio-server.service.in
+++ b/sci-mathematics/rstudio/files/rstudio-server.service.in
@@ -1,5 +1,6 @@
[Unit]
Description=RStudio Server
+After=network.target
[Service]
Type=forking
diff --git a/sci-mathematics/rstudio/rstudio-1.3.1093.ebuild b/sci-mathematics/rstudio/rstudio-1.3.1093-r1.ebuild
index 851ffef54c98..851ffef54c98 100644
--- a/sci-mathematics/rstudio/rstudio-1.3.1093.ebuild
+++ b/sci-mathematics/rstudio/rstudio-1.3.1093-r1.ebuild