mirror of
https://github.com/YunoHost-Apps/movim_ynh.git
synced 2024-09-03 19:46:19 +02:00
22 lines
351 B
Text
22 lines
351 B
Text
|
#!/bin/sh
|
||
|
|
||
|
set -e
|
||
|
|
||
|
. /usr/share/debconf/confmodule
|
||
|
|
||
|
if [ -f /usr/share/dbconfig-common/dpkg/config ]; then
|
||
|
. /usr/share/dbconfig-common/dpkg/config
|
||
|
|
||
|
dbc_dbtypes="pgsql, mysql"
|
||
|
dbc_authmethod_user="password"
|
||
|
|
||
|
. /usr/share/dbconfig-common/dpkg/config
|
||
|
|
||
|
dbc_go movim $@
|
||
|
fi
|
||
|
|
||
|
db_input high movim/httpserver || true
|
||
|
db_go || true
|
||
|
|
||
|
exit 0
|