From df4528d6668ab18e40584fe540355bdfba0fb6dd Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 20:24:29 +0200 Subject: Adding debian version 14.2.21-1. Signed-off-by: Daniel Baumann --- debian/radosgw.postinst | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 debian/radosgw.postinst (limited to 'debian/radosgw.postinst') diff --git a/debian/radosgw.postinst b/debian/radosgw.postinst new file mode 100644 index 00000000..3f155126 --- /dev/null +++ b/debian/radosgw.postinst @@ -0,0 +1,17 @@ +#!/bin/sh + +set -e + +if [ "${1}" = "configure" ] ; then + [ -f "/etc/default/ceph" ] && . /etc/default/ceph + [ -z "$SERVER_USER" ] && SERVER_USER=ceph + [ -z "$SERVER_GROUP" ] && SERVER_GROUP=ceph + if ! dpkg-statoverride --list /var/lib/ceph/radosgw >/dev/null; then + chown $SERVER_USER:$SERVER_GROUP /var/lib/ceph/radosgw + fi +fi +#DEBHELPER# + +exit 0 + + -- cgit v1.2.3