Skip to content

Commit

Permalink
Fixes #16509: on centos8 relay, service relayd is not started after i…
Browse files Browse the repository at this point in the history
…nstallation
  • Loading branch information
amousset committed Jan 9, 2020
1 parent 6078a35 commit ba8274d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions relay/sources/rudder-server-relay-postinst
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@ chown rudder: /var/rudder/shared-files
chmod 770 /var/rudder/shared-files
chmod 755 /var/rudder/inventories

# Make conf readable by relayd
chgrp -R rudder /opt/rudder/etc/relayd
chmod 750 /opt/rudder/etc/relayd
chmod 640 /opt/rudder/etc/relayd/main.conf
chmod 640 /opt/rudder/etc/relayd/logging.conf

for dir in /var/rudder/inventories/incoming /var/rudder/inventories/accepted-nodes-updates /var/rudder/reports/incoming /var/rudder/reports/failed
do
chmod 770 ${dir}
Expand Down

0 comments on commit ba8274d

Please sign in to comment.