docker – Blame information for rev 20
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
20 | office | 1 | #!/usr/bin/bash |
7 | office | 2 | |
3 | # create a directory that will be mountable as a regular Docker volume |
||
4 | mkdir -p /etc/corrade |
||
5 | |||
6 | # now pivot user-editable files as a symlink into the Docker mountable volume directory |
||
7 | |||
8 | if [ ! -f /etc/corrade/CorradeConfiguration.xml ]; then |
||
9 | cp /corrade/CorradeConfiguration.xml.default /etc/corrade/CorradeConfiguration.xml |
||
10 | fi |
||
11 | ln -sf /etc/corrade/CorradeConfiguration.xml /corrade/CorradeConfiguration.xml |
||
12 | |||
13 | if [ ! -f /etc/corrade/NucleusConfiguration.xml ]; then |
||
14 | cp /corrade/NucleusConfiguration.xml.default /etc/corrade/NucleusConfiguration.xml |
||
15 | fi |
||
16 | ln -sf /etc/corrade/NucleusConfiguration.xml /corrade/NucleusConfiguration.xml |
||
17 | |||
18 | if [ ! -f /etc/corrade/Log4Net.config ]; then |
||
19 | cp /corrade/Log4Net.config.default /etc/corrade/Log4Net.config |
||
20 | fi |
||
21 | ln -sf /etc/corrade/Log4Net.config /corrade/Log4Net.config |
||
22 | |||
23 | /corrade/Corrade |