saving uncommitted changes in /etc prior to emerge run
This commit is contained in:
15
init.d/rstudio-server
Executable file
15
init.d/rstudio-server
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2012 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 $?
|
||||
}
|
||||
Reference in New Issue
Block a user