mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
postgresql: fix regenconf hook, the arg format thingy changed a bit at some point ?
This commit is contained in:
parent
d123fd7674
commit
8a43b04614
1 changed files with 1 additions and 17 deletions
|
@ -47,20 +47,4 @@ do_post_regen() {
|
||||||
ynh_systemd_action --service_name=postgresql --action=reload
|
ynh_systemd_action --service_name=postgresql --action=reload
|
||||||
}
|
}
|
||||||
|
|
||||||
FORCE=${2:-0}
|
do_$1_regen ${@:2}
|
||||||
DRY_RUN=${3:-0}
|
|
||||||
|
|
||||||
case "$1" in
|
|
||||||
pre)
|
|
||||||
do_pre_regen $4
|
|
||||||
;;
|
|
||||||
post)
|
|
||||||
do_post_regen $4
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
echo "hook called with unknown argument \`$1'" >&2
|
|
||||||
exit 1
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
exit 0
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue