blob: caa7e46d5df86b6aa6afb94ee8c6ba4c3beee6c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/sbin/openrc-run
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
start() {
ebegin "Starting RStudio Server"
start-stop-daemon --start --quiet --exec /usr/bin/rserver
eend $?
}
stop() {
ebegin "Stopping RStudio Server"
start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --name /usr/bin/rserver
eend $?
}
|