Perhaps something like this [Unit] Description=RStudio server daemon After=networking.target [Service] Type=forking ExecStart=/usr/bin/rserver Restart=always RestartSec=30s [Install] WantedBy=multi-user.target Reproducible: Always
Thanks, if you or someone would like to please supply a patch to the rstudio ebuild and attachments of any additional files that are required that has been tested to work on a systemd system, then I can add it. As I do not have access to a systemd system.
Thanks to Michael Jones for reporting, tomboy-64 for fixing: commit c812d14ee2c817bc63175175b93de6c98c544019 Merge: 11a07e6 0954103 Author: Mark Wright <gienah@gentoo.org> Date: Fri Jan 29 15:59:09 2016 +1100 sci-mathematics/rstudio: Thanks to tomboy-64 for fixing bug Bug 534152 - sci-mathematics/rstudio - add systemd support commit 09541034bc6bce8db9f12a12ff351c4ca9baa5d2 Author: Matthew Brewer <tomboy64@sina.cn> Date: Fri Jan 29 05:18:36 2016 +0100 sci-mathematics/rstudio: cosmetic changes to PATCHES array in 0.99.486-r1 Package-Manager: portage-2.2.26 RepoMan-Options: --ignore-arches commit d07fa9effb9ab4b6aba0a4bc7bbc3bb56695bad2 Author: Matthew Brewer <tomboy64@sina.cn> Date: Fri Jan 29 05:18:21 2016 +0100 sci-mathematics/rstudio: use the same group in rstudio-server.conf as in the .ebuild Package-Manager: portage-2.2.26 RepoMan-Options: --ignore-arches commit 53d873715b54186cbcced5c32bfdd8380a4a1508 Author: Matthew Brewer <tomboy64@sina.cn> Date: Fri Jan 29 05:17:47 2016 +0100 sci-mathematics/rstudio: install systemd service unit for rstudio-server into proper directory (bug #534152) Package-Manager: portage-2.2.26 RepoMan-Options: --ignore-arches