diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 06:40:13 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 06:40:13 +0000 |
commit | 70f15f82608220f5351716d4fb29ff5d0c339010 (patch) | |
tree | bdc6aa1d04df6136e48df5fcf7f9a906990f923c /debian/cluster-glue.postinst | |
parent | Adding upstream version 1.0.12. (diff) | |
download | cluster-glue-70f15f82608220f5351716d4fb29ff5d0c339010.tar.xz cluster-glue-70f15f82608220f5351716d4fb29ff5d0c339010.zip |
Adding debian version 1.0.12-22.debian/1.0.12-22
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/cluster-glue.postinst')
-rw-r--r-- | debian/cluster-glue.postinst | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/cluster-glue.postinst b/debian/cluster-glue.postinst new file mode 100644 index 0000000..16b6f47 --- /dev/null +++ b/debian/cluster-glue.postinst @@ -0,0 +1,14 @@ +#!/bin/sh + +set -e + +if [ "$1" = configure ]; then + # keep group and user in sync with pacemaker-common.postinst + addgroup --system haclient + adduser --system hacluster --ingroup haclient --home /var/lib/pacemaker --no-create-home + + chown hacluster:haclient /var/lib/heartbeat/cores/hacluster + chown nobody:nogroup /var/lib/heartbeat/cores/nobody +fi + +#DEBHELPER# |