20 lines
622 B
Bash
Executable File
20 lines
622 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# script/alpine_setup: Adds all the system packages, directors, users, etc.
|
|
# required to run the application on Alpine
|
|
|
|
source "$(dirname "${0}")"/../script/include/global_header.inc.sh
|
|
|
|
# Set app specific items
|
|
APP_USER="atst"
|
|
APP_UID="8010"
|
|
|
|
# Add additional packages required by app dependencies
|
|
ADDITIONAL_PACKAGES="postgresql-libs python3 rsync uwsgi uwsgi-python3 uwsgi-logfile"
|
|
|
|
# add sync-crl cronjob for atst user
|
|
echo "1 */6 * * * /opt/atat/atst/script/sync-crls tests/crl-tmp" >> /etc/crontabs/atst
|
|
|
|
# Run the shared alpine setup script
|
|
source ./script/include/run_alpine_setup
|