feature:设置mrzcpd service TimeoutStartSec和TimeoutStopSec为300s

This commit is contained in:
fumingwei
2022-10-12 19:51:09 +08:00
parent 2517857aed
commit 67f312e5ef
2 changed files with 9 additions and 0 deletions

View File

@@ -140,6 +140,12 @@
mode: 0644
when: runtime_env == 'TSG-X-P0906'
- name: "copy add_timeout_setting to mrzcpd.service.d"
copy:
src: "{{ role_path }}/templates/service_add_timeout_setting.conf"
dest: /usr/lib/systemd/system/mrzcpd.service.d/
mode: 0644
##################### mrzcpd #####################
- name: "enable mrenv"
systemd:

View File

@@ -0,0 +1,3 @@
[Service]
TimeoutStartSec=300
TimeoutStopSec=300