Ursprung
df3b7aa700
Commit
68de2878a0
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
|
@ -1,9 +1,9 @@
|
||||||
It is possible to add pre- and post-update-hooks to the `update.sh` script that upgrades your whole mailcow installation.
|
It is possible to add pre- and post-update-hooks to the `update.sh` script that upgrades your whole mailcow installation.
|
||||||
|
|
||||||
To do so, just add the corresponding bash script into your mailcows root directory:
|
To do so, just add the corresponding bash script into your mailcow root directory:
|
||||||
|
|
||||||
* `pre_update_hook.sh` for commands that should run before the update
|
* `pre_update_hook.sh` for commands that should run before the update
|
||||||
* `post_uddate_hook.sh` for commands that should run after the update is completed
|
* `post_update_hook.sh` for commands that should run after the update is completed
|
||||||
|
|
||||||
Keep in mind that `pre_update_hook.sh` runs every time you call `update.sh` and `post_update_hook.sh` will only run if the update was successful and the script doesn't have to be re-run.
|
Keep in mind that `pre_update_hook.sh` runs every time you call `update.sh` and `post_update_hook.sh` will only run if the update was successful and the script doesn't have to be re-run.
|
||||||
|
|
||||||
|
|
Laden …
In neuem Issue referenzieren