mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-31 04:44:05 +02:00
Create end.sh
This commit is contained in:
13
webtrees/rootfs/end.sh
Normal file
13
webtrees/rootfs/end.sh
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ -f /data/config.ini.php ]; then
|
||||||
|
mv /var/www/webtrees/data/config.ini.php /data
|
||||||
|
ln -s /data/config.ini.php /var/www/webtrees/data
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -f /data/webtrees.sqlite ]; then
|
||||||
|
mv /var/www/webtrees/data/webtrees.sqlite /data
|
||||||
|
ln -s /data/webtrees.sqlite /var/www/webtrees/data
|
||||||
|
fi
|
||||||
|
|
||||||
|
exec apache2-foreground
|
||||||
Reference in New Issue
Block a user