Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 534152 - sci-mathematics/rstudio - add systemd support
Summary: sci-mathematics/rstudio - add systemd support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mark Wright
URL:
Whiteboard:
Keywords: NeedPatch
Depends on:
Blocks: install-systemd-unit
  Show dependency tree
 
Reported: 2014-12-31 20:56 UTC by Michael Jones
Modified: 2016-01-29 05:09 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Jones 2014-12-31 20:56:11 UTC
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
Comment 1 Mark Wright gentoo-dev 2015-01-01 23:12:48 UTC
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.
Comment 2 Mark Wright gentoo-dev 2016-01-29 05:09:19 UTC
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