Skip to content

Commit 91e8bc1

Browse files
committed
Updated README.md
1 parent d174580 commit 91e8bc1

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,20 @@ then
2828
```
2929
## Extras
3030

31-
To use an external env file in a custom location use example:
31+
To use an external env file in a custom location, example :
3232
```bash
3333

3434
export BACKUP_CONFIG_ENVFILE="/home/myuser/secretbackupconfig.env.txt"
3535

3636
./backup.sh
3737

3838
unset BACKUP_CONFIG_ENVFILE
39-
```
39+
```
40+
You can use the variables of the env file in the `ON_SUCCESS` variable, example :
41+
```bash
42+
ON_SUCCESS="${BACKUP_DIR}/onsuccessscript.sh"
43+
```
44+
4045

4146
## Options
4247

0 commit comments

Comments
 (0)