mirror of
https://github.com/SuperSandro2000/nixos-modules.git
synced 2024-06-01 05:49:22 +02:00
postgres: wait only works with restart or start
This commit is contained in:
parent
73c7ca45f8
commit
7f3825f831
|
@ -50,7 +50,7 @@ in
|
|||
exit 2
|
||||
fi
|
||||
|
||||
systemctl stop --wait postgresql ${lib.concatStringsSep " " cfgu.stopServices}
|
||||
systemctl stop postgresql ${lib.concatStringsSep " " cfgu.stopServices}
|
||||
|
||||
install -d -m 0700 -o postgres -g postgres "${newData}"
|
||||
cd "${newData}"
|
||||
|
|
Loading…
Reference in New Issue
Block a user