summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-mathematics')
-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