2017-01-26 | Paul Boddie | raw annotate files changeset graph | Configure storage modules according to those present in the stores package, similar to the way that scheduling modules are configured, introducing a new tool to update the configuration when new modules are added. |
1 #!/bin/sh 2 3 STORE_TYPE=file 4 IMIP_AGENT_USER=imip-agent 5 IMIP_AGENT_GROUP=lmtp 6 INSTALL_DIR=/var/lib/imip-agent 7 WEB_INSTALL_DIR=/var/www/imip-agent 8 CONFIG_DIR=/etc/imip-agent 9 10 # Store-specific settings. 11 12 # For STORE_TYPE=postgresql... 13 14 POSTGRESQL_DB=imip_agent 15 POSTGRESQL_USERS="imip-agent www-data" 16 AS_POSTGRES="sudo -u postgres"