projects
/
discourse_docker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
FEATURE: change login directory to discourse home when enter a container
[discourse_docker.git]
/
templates
/
web.template.yml
diff --git
a/templates/web.template.yml
b/templates/web.template.yml
index 5fbe43495b8c227bb8c092928e15ffeb211dfa46..bfd06ce637d0fc6fd6d6dd28aebbc37c8ff7302d 100644
(file)
--- a/
templates/web.template.yml
+++ b/
templates/web.template.yml
@@
-247,3
+247,10
@@
run:
mkdir -p /shared/backups
chown -R discourse:www-data /shared/backups
fi
mkdir -p /shared/backups
chown -R discourse:www-data /shared/backups
fi
+
+ # change login directory to Discourse home
+ - file:
+ path: /root/.bash_profile
+ chmod: 644
+ contents: |
+ cd $home