Commit 1c6adbc4 authored by Lu Xu's avatar Lu Xu 👀

software/hugo: change site to site-dir

parent 5a1f7598
......@@ -15,7 +15,7 @@
[template-cfg]
filename = instance.cfg.in
md5sum = d3039f42656d00ddf6767dc8fde576b2
md5sum = 090e69050db6dd7181bff08f98c63c6d
[template_nginx_conf]
_update_hash_filename_ = templates/nginx_conf.in
......
......@@ -48,7 +48,7 @@ partition = ${slap-connection:partition-id}
url = ${slap-connection:server-url}
key = ${slap-connection:key-file}
cert = ${slap-connection:cert-file}
configuration.site = quickstart
configuration.site-dir = /srv/slapgrid/slappart19/srv/runner/software/0f9d9ed1b3b542ccafba3c51e637ebe2/parts/quickstart
configuration.port = 8080
[hugo_conf]
......@@ -71,8 +71,8 @@ path_nginx = {{ parameter_list['nginx_location'] }}/sbin/nginx
bin_launcher = ${basedirectory:script}/launcher
docroot = ${buildout:local-directory}/parts/${slap-configuration:configuration.site}/public
default_index = ${buildout:local-directory}/parts/${slap-configuration:configuration.site}/public/index.html
docroot = ${slap-configuration:configuration.site-dir}/public
default_index = ${:docroot}/index.html
[nginx_conf]
recipe = slapos.recipe.template:jinja2
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment