Skip to content

Commit

Permalink
Use rundeck user for database, not DATABASE_ADMIN_USER
Browse files Browse the repository at this point in the history
  • Loading branch information
jjethwa authored May 29, 2018
1 parent 155db62 commit 04668f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/opt/run
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ if [ ! -f "${initfile}" ]; then
if grep -q dataSource.username /etc/rundeck/rundeck-config.properties ; then
:
else
echo "dataSource.username = ${DATABASE_ADMIN_USER}" >> /etc/rundeck/rundeck-config.properties
echo "dataSource.username = rundeck" >> /etc/rundeck/rundeck-config.properties
fi
if grep -q dataSource.password /etc/rundeck/rundeck-config.properties ; then
sed -i 's,dataSource.password = .*,dataSource.password = '${RUNDECK_PASSWORD}',g' /etc/rundeck/rundeck-config.properties
Expand Down

0 comments on commit 04668f2

Please sign in to comment.