Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
development:
  url: http://matterhorn_system_account:CHANGE_ME@localhost:8080/

...

Info
titleAvalon config file

Avalon settings now live in /var/www/avalon/config/settings.yml

...

. The default values should be sufficient to start with.

They can be selectively overwritten by creating

...

settings/<environment>.yml, or by using environment variables. Consult

...

the config gem doc

...

 to understand how it works, or Avalon's documentation

...

 to customize this file for your installation.


Anchor
secrets
secrets
Change the secrets.yml file:

...

Code Block
groupadd -r dropbox
useradd -r avalondrop
usermod -G dropbox avalon
mkdir -p /varsrv/avalon/dropbox
chown avalondrop:dropbox /varsrv/avalon/dropbox
chmod 2775 /varsrv/avalon/dropbox

Edit /etc/ssh/sshd_config

Code Block
# override default of no subsystems
Subsystem sftp internal-sftp
 
# Example of overriding settings on a per-user basis
#Match User anoncvs
# X11Forwarding no
# AllowTcpForwarding no
# ForceCommand cvs server
Match Group dropbox
ChrootDirectory /varsrv/avalon
X11Forwarding no
AllowTcpForwarding no
ForceCommand internal-sftp

...