Commit 8e2ac8d0 authored by Fabien Viale's avatar Fabien Viale
Browse files

update watcher password in notification-service application properties

parent 96ef3ec1
......@@ -147,6 +147,8 @@ generate_new_accounts()
sed "s/rm\.cache\.password=.*/rm.cache.password=/g" -i "$PA_ROOT/default/config/web/settings.ini"
sed "s/^.*rm\.cache\.credential=.*$/rm.cache.credential=$(escape_rhs_sed $AUTH_ROOT/watcher.cred)/g" -i "$PA_ROOT/default/config/web/settings.ini"
sed "s/^.*listeners\.pwd=.*$/listeners.pwd=$(escape_rhs_sed $WATCHER_PWD)/g" -i "$PA_ROOT/default/dist/war/notification-service/WEB-INF/classes/"
# removing test accounts
$PA_ROOT/default/tools/proactive-users -D -l demo
......@@ -600,8 +602,7 @@ if [[ "$OLD_PADIR" == "" ]]; then
# configure infinite timeout and service type for systemd
mkdir -p /etc/systemd/system/proactive-scheduler.service.d
echo '
echo '[Service]
' > /etc/systemd/system/proactive-scheduler.service.d/timeout.conf
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment