Development

CloudFormation Stack is stuck on “CREATE_IN_PROGRESS”, Task for service wont start up

STOPPED (CannotPullContainerError: inspect image has been retried 1 time(s): failed to resolve ref “gitlab.selectiont.com:5050/werm/apps-pl8it/api-werm-react-stack/api-werm-react-api:stage@sha256:64959d7040195cb5d0d9c2cd066eb1205cb9cdff476e2115109884615ae76519”: failed to authorize: failed to fetch anonymous token: unexpected status: 403 Forbidden)

Read More »

resolve or flatten bash vars in string

This is the string FE_DOMAIN=${HOST_PREFIX}pl8it.com If I wanted to resolve this and output the result, you would think this would work this is what I get 9315{BASH_REMATCH[2]} so instead I used printenv printenv requires that you pass it the env without the “$”

Read More »

logrotate

Check to see if installed if not installed run check again if installed place a file inside of /etc/logrotate.d To verify if a particular log is indeed rotating or not and to check the last date and time of its rotation, check the /var/lib/logrotate/status file

Read More »