Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F72755494
clean.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Jul 16, 21:41
Size
594 B
Mime Type
text/x-shellscript
Expires
Thu, Jul 18, 21:41 (1 d, 21 h)
Engine
blob
Format
Raw Data
Handle
19099338
Attached To
R2664 SHRINE MedCo Fork
clean.sh
View Options
#!/bin/bash
#########
#
# SHRINE Clean (uninstall)
#
##########
echo
"[shrine/clean.sh] Begin."
##########
source
./shrine.rc
#########
# TODO: cleaner
##########
# echo "[shrine/clean.sh] shutting down tomcat if it is still running."
##########
shrine_shutdown
sleep 3
##########
echo
"[shrine/clean.sh] removing shrine home."
##########
rm -rf
$SHRINE_HOME
##########
echo
"[shrine/clean.sh] removing spin home."
##########
rm -rf
$HOME
/.spin/
##########
echo
"[shrine/clean.sh] removing work directory."
##########
rm -rf work
##########
echo
"[shrine/clean.sh] Done."
##########
Event Timeline
Log In to Comment