commit: e3ca911b12cb1ec292f6d15535c0beef3faa0549 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> AuthorDate: Fri Jun 11 18:27:50 2021 +0000 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> CommitDate: Fri Jun 11 18:34:34 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3ca911b
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 <AT> gentoo.org> sci-mathematics/rstudio/files/rstudio-server.initd | 6 +++++- sci-mathematics/rstudio/files/rstudio-server.service.in | 1 + .../rstudio/{rstudio-1.3.1093.ebuild => rstudio-1.3.1093-r1.ebuild} | 0 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/sci-mathematics/rstudio/files/rstudio-server.initd b/sci-mathematics/rstudio/files/rstudio-server.initd index caa7e46d5df..96c1e4f210c 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 fb3e37305e0..08965a836a2 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 similarity index 100% rename from sci-mathematics/rstudio/rstudio-1.3.1093.ebuild rename to sci-mathematics/rstudio/rstudio-1.3.1093-r1.ebuild
