summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp')
-rwxr-xr-xcpp/etc/qpidd1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/etc/qpidd b/cpp/etc/qpidd
index 8e6e74b33c..b4118f0866 100755
--- a/cpp/etc/qpidd
+++ b/cpp/etc/qpidd
@@ -57,6 +57,7 @@ start() {
if [ $RETVAL = 0 ]; then
touch $pidfile
chown qpidd.qpidd $pidfile
+ [ -x /sbin/restorecon ] && /sbin/restorecon $pidfile
runuser -s /bin/sh qpidd -c "/usr/sbin/$prog --check --pid-dir /var/run/qpidd > $pidfile"
fi
return $RETVAL