2018-06-10 14:13:09 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
|
|
# Setup process
|
|
|
|
|
|
|
|
|
|
# Check if .env exists
|
|
|
|
|
|
|
|
|
|
## if not create .env and start guided setup
|
|
|
|
|
### Check dependencies e.g. openssl/libressl
|
|
|
|
|
|
2019-07-31 21:49:33 +00:00
|
|
|
#### Generate key
|
2018-06-10 14:13:09 +00:00
|
|
|
openssl rand -base64 32
|
|
|
|
|
|
|
|
|
|
# Check is there is new version and offer to download
|
|
|
|
|
## if .env exists but is and old version then Update and get user input
|