bugfix:TSG-8516:修改sapp,tfe service和mrzcpd的依赖关系由Requires变为Wants
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
[Unit]
|
||||
Requires=tfe-env.service mrzcpd.service
|
||||
Wants=mrzcpd.service
|
||||
After=tfe-env.service mrzcpd.service
|
||||
|
||||
Reference in New Issue
Block a user