-
Notifications
You must be signed in to change notification settings - Fork 41
Configuration Variables
SkyperTHC edited this page Sep 18, 2022
·
2 revisions
Any of these variables can be added to the .env
file. Take a look at provision/env.example
for an up to date list:
SF_BASEDIR= A location to store configuration data. [default=~ubuntu/segfault]
SF_SEED= The master seed. [default=$(head -c 1024 /dev/urandom | tr -dc '[:alpha:]' | head -c 32)]
SF_HOST_USER= The user name in [email protected]. [default=root]
SF_FQDN= A unique domain name to reach the Server Centre [default=auto]
SF_HOST_PASSWORD= The user password for [email protected]. [default=segfault]
SF_SHMDIR= A volatile location. [default=/dev/shm/sf-*]
SF_SSH_PORT= The TCP port on which the Server Centre should run on [default=22]
SF_DEBUG=1 Turn on debug output.
Any of the above variables or any of the variables from ${SF_BASEDIR}/config/etc/sf/sf.conf
or from the list below can be used to overwrite the defaults for the provision/init-linux.sh
script.
SF_SSH_PORT_MASTER= Move the hosting server's SSH port to this port [default=64222]
Example:
SF_BASEDIR=/sf \
SF_SEED=foobar \
SF_USER_ROOT_FS_LIMIT=128MB \
provision/init-linux.sh
Join us on Telegram if you have any questions or comments.