15 lines
312 B
Bash
15 lines
312 B
Bash
#!/bin/sh
|
|
|
|
# Setup process
|
|
|
|
# Check if .env exists
|
|
|
|
## if not create .env and start guided setup
|
|
### Check dependencies e.g. openssl/libressl
|
|
|
|
#### Generate key
|
|
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
|