store webmin configuration in /app/data/webmin
parent
7058943163
commit
0cfd32effc
10
assets/init
10
assets/init
|
@ -31,6 +31,16 @@ fi
|
|||
rm -rf /var/lib/bind
|
||||
ln -sf /app/data/bind/lib /var/lib/bind
|
||||
|
||||
# create directory for webmin
|
||||
mkdir -p /app/data/webmin
|
||||
|
||||
# populate the default webmin configuration if it does not exist
|
||||
if [ ! -d /app/data/webmin/etc ]; then
|
||||
mv /etc/webmin /app/data/webmin/etc
|
||||
fi
|
||||
rm -rf /etc/webmin
|
||||
ln -sf /app/data/webmin/etc /etc/webmin
|
||||
|
||||
appStart () {
|
||||
supervisorctl start named
|
||||
/etc/init.d/webmin start
|
||||
|
|
Loading…
Reference in New Issue