bugfix:TSG-8516:修改sapp,tfe service和mrzcpd的依赖关系由Requires变为Wants

This commit is contained in:
fumingwei
2021-11-17 17:24:44 +08:00
parent 04afaf84df
commit 88225866a2
2 changed files with 9 additions and 1 deletions

View File

@@ -33,6 +33,14 @@
- /usr/lib/systemd/system/sapp.service
- /etc/sysconfig/sapp
- name: replace Requires to Wants in sapp service file
replace:
path: "{{ item }}"
regexp: 'Requires'
replace: 'Wants'
with_items:
- /usr/lib/systemd/system/sapp.service
- name: "mkdir tsgconf"
file:
path: /opt/tsg/sapp/tsgconf

View File

@@ -1,3 +1,3 @@
[Unit]
Requires=tfe-env.service mrzcpd.service
Wants=mrzcpd.service
After=tfe-env.service mrzcpd.service