Skip to content

Commit

Permalink
Futher testing of NodeManager Copy
Browse files Browse the repository at this point in the history
Futher testing of NodeManager Copy
  • Loading branch information
Martin Fanning committed May 28, 2024
1 parent b96b125 commit f63fb51
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
8 changes: 2 additions & 6 deletions roles/ohs/tasks/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -303,19 +303,15 @@
changed_when: False

- name: Copy NodeManager Start
become: yes
become_user: root
copy:
src: "{{ ohs_home }}/user_projects/domains/ohs_{{ ansible_hostname }}/bin/startNodeManager.sh"
dest: /usr/local/bin/startNodeManager.sh
dest: /opt/oracle/startNodeManager.sh
remote_src: true

- name: Copy NodeManager Stop
become: yes
become_user: root
copy:
src: "{{ ohs_home }}/user_projects/domains/ohs_{{ ansible_hostname }}/bin/stopNodeManager.sh"
dest: /usr/local/bin/stopNodeManager.sh
dest: /opt/oracle/stopNodeManager.sh
remote_src: true

- name: Starting and authenticating NM
Expand Down
4 changes: 2 additions & 2 deletions roles/ohs/templates/ohsNM.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ Description=Oracle HTTP Server service
User={{ ohs_user }}
Group={{ ohs_group }}
Environment="ORACLE_HOME={{ ohs_home }}"
ExecStart=/usr/local/bin/startNodeManager.sh
ExecStop=/usr/local/bin/stopNodeManager.sh
ExecStart=/opt/oracle/startNodeManager.sh
ExecStop=/opt/oracle/stopNodeManager.sh
Restart=always

[Install]
Expand Down

0 comments on commit f63fb51

Please sign in to comment.