Skip to content

Commit

Permalink
add log dir chown to entrypoint (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikkonie committed Sep 18, 2024
1 parent b07e244 commit af18ac5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docker/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ if [[ "$1" == "irods-start" ]]; then
chmod a+x /var/lib/irods/irodsctl
chown -cR $IRODS_SERVICE_ACCOUNT_GROUP:$IRODS_SERVICE_ACCOUNT_USER /etc/irods
sed -i '/imklog/s/^/#/' /etc/rsyslog.conf

# Start syslog
chown syslog:adm /var/log/irods
/etc/init.d/rsyslog start

echo "iRODS server role: $IRODS_ROLE"
Expand Down

0 comments on commit af18ac5

Please sign in to comment.