diff options
author | Simo Sorce <simo@redhat.com> | 2014-05-28 22:34:33 -0400 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2014-06-04 10:26:34 -0400 |
commit | 2bf19529aed9bc545fadf60f06b4e8ee78483ca2 (patch) | |
tree | cc7eddc520240b8a581fd0e8614f5259cbf76c82 /templates | |
parent | d5226ac4c37b38c51a1e0de1835488432723995f (diff) | |
download | ipsilon.git-2bf19529aed9bc545fadf60f06b4e8ee78483ca2.tar.gz ipsilon.git-2bf19529aed9bc545fadf60f06b4e8ee78483ca2.tar.xz ipsilon.git-2bf19529aed9bc545fadf60f06b4e8ee78483ca2.zip |
Additional parametrization of template files
To allow for testing in a custom rootdir, and with a custom user.
Signed-off-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/install/idp.conf | 10 | ||||
-rw-r--r-- | templates/install/ipsilon.conf | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/templates/install/idp.conf b/templates/install/idp.conf index 4fe4204..6175ffe 100644 --- a/templates/install/idp.conf +++ b/templates/install/idp.conf @@ -1,15 +1,15 @@ -Alias /${instance}/ui /usr/share/ipsilon/ui -WSGIScriptAlias /${instance} /usr/sbin/ipsilon -WSGIDaemonProcess ${instance} user=ipsilon group=ipsilon home=${datadir} +Alias /${instance}/ui ${staticdir}/ui +WSGIScriptAlias /${instance} ${ipsilondir}/ipsilon +WSGIDaemonProcess ${instance} user=${sysuser} group=${sysuser} home=${datadir} <Location /${instance}> WSGIProcessGroup ${instance} </Location> -<Directory /usr/sbin> +<Directory ${ipsilondir}> Require all granted </Directory> -<Directory /usr/share/ipsilon> +<Directory ${staticdir}> Require all granted </Directory> diff --git a/templates/install/ipsilon.conf b/templates/install/ipsilon.conf index 3c9226f..89e14f1 100644 --- a/templates/install/ipsilon.conf +++ b/templates/install/ipsilon.conf @@ -3,7 +3,7 @@ debug = False log.screen = False base.mount = "/${instance}" -base.dir = "/usr/share/ipsilon" +base.dir = "${staticdir}" admin.config.db = "${datadir}/adminconfig.sqlite" user.prefs.db = "${datadir}/userprefs.sqlite" |