template: sample scripts for each function. also reworked the backup script + checked it with actual_server
This commit is contained in:
10
template/example_server-env
Normal file
10
template/example_server-env
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
export BUCKET_PATH="${BACKUP_BUCKET}/example"
|
||||
|
||||
export VOLUME_PATH="${HOME}/${USER}-data"
|
||||
export PORT=999999
|
||||
PUID=$(id -u "$USER")
|
||||
export PUID
|
||||
PGID=$(id -g "$USER")
|
||||
export PGID
|
||||
Reference in New Issue
Block a user