start.sh 330 Bytes
Newer Older
Martin Mai's avatar
-  
Martin Mai committed
1
2
#!/bin/bash

Your Name's avatar
-    
Your Name committed
3
#run once at very first startup of the container
Martin Mai's avatar
-  
Martin Mai committed
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
sh /root/uniba.de/initial/remove-after-run/setup.sh
rm /root/uniba.de/initial/remove-after-run/setup.sh

chmod 700 /root/.ssh/authorized_keys2


/sbin/init

service ssh restart
service rsyslog restart
service apache2 restart
service mysql restart
cron
tail -f /start