[refs #2249] Add sh scripts into bin directory
This commit is contained in:
parent
ce60f7b057
commit
cd0f7462c5
|
@ -0,0 +1,6 @@
|
||||||
|
for f in `ls /srv/rosa_build/current/tmp/mount`
|
||||||
|
do
|
||||||
|
mkdir "/srv/rosa_build/shared/downloads/$f"
|
||||||
|
mount --bind "/home/share/platforms/$f" "/srv/rosa_build/shared/downloads/$f"
|
||||||
|
rm -f "/srv/rosa_build/current/tmp/mount/$f"
|
||||||
|
done
|
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
mv /opt/nginx/logs/access.log /opt/nginx/logs/access.log.0
|
||||||
|
/opt/nginx/sbin/nginx -s reload
|
||||||
|
chown rosa /opt/nginx/logs/access.log.0
|
||||||
|
touch /home/rosa/i_was_launched.txt
|
|
@ -0,0 +1,6 @@
|
||||||
|
for f in `ls /srv/rosa_build/current/tmp/umount`
|
||||||
|
do
|
||||||
|
umount "/srv/rosa_build/shared/downloads/$f"
|
||||||
|
rm -Rf "/srv/rosa_build/shared/downloads/$f"
|
||||||
|
rm -f "/srv/rosa_build/current/tmp/umount/$f"
|
||||||
|
done
|
Loading…
Reference in New Issue