mirror of
https://github.com/24eme/signaturepdf
synced 2024-05-17 21:26:34 +02:00
12 lines
402 B
Bash
Executable file
12 lines
402 B
Bash
Executable file
#! /bin/bash
|
|
|
|
envsubst < /usr/local/signaturepdf/config/apache.conf > /etc/apache2/sites-available/signaturepdf.conf
|
|
envsubst < /usr/local/signaturepdf/config/php.ini > /usr/local/etc/php/conf.d/uploads.ini
|
|
envsubst < /usr/local/signaturepdf/config/config.ini.tpl > /usr/local/signaturepdf/config/config.ini
|
|
|
|
if [[ ! -z $PDF_STORAGE_PATH ]] ; then
|
|
mkdir -p $PDF_STORAGE_PATH
|
|
fi
|
|
|
|
apache2-foreground
|