Commit 3b899791 authored by Kirill Smelkov's avatar Kirill Smelkov

X Move assets to var/

parent 6bc49987
......@@ -110,10 +110,10 @@ recipe = slapos.cookbook:mkdirectory
etc = ${directory:etc}/gitlab
log = ${directory:log}/gitlab
# XXX questionable from now on?
var = ${directory:var}/gitlab
tmp = ${:var}/tmp
uploads = ${:var}/uploads
assets = ${:var}/assets
repositories = ${directory:srv}/repositories
# XXX goes away (?) satellites = ${directory:srv}/satellites
backup = ${directory:srv}/backup
......@@ -327,8 +327,9 @@ tune-command =
ln -sf ${smtp_settings.rb:rendered} smtp_settings.rb &&
# public/
cd ../../public &&
rm -rf uploads &&
ln -sf ${gitlab:uploads} uploads &&
rm -rf uploads assets &&
ln -sf ${gitlab:uploads} uploads &&
ln -sf ${gitlab:assets} assets &&
true
......
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