修改 clotho 为 package_dump
This commit is contained in:
@@ -111,7 +111,7 @@
|
||||
dest: /opt/mrzcpd/etc/mrtunnat.conf
|
||||
when:
|
||||
- nic_traffic_mirror is not defined
|
||||
- tsg_access_type == 3
|
||||
- == 3
|
||||
|
||||
- name: "update mrtunnat.conf.ATCA_Vlan_Flipping"
|
||||
template:
|
||||
|
||||
19
roles/packet_dump/files/packet_dump.service
Normal file
19
roles/packet_dump/files/packet_dump.service
Normal file
@@ -0,0 +1,19 @@
|
||||
[Unit]
|
||||
Description=packet dump service
|
||||
After=After=network.target
|
||||
|
||||
[Service]
|
||||
Type=fork
|
||||
WorkingDirectory=/home/mesasoft/packet_dump
|
||||
ExecStart=/home/mesasoft/packet_dump/packet_dump
|
||||
TimeoutSec=60s
|
||||
RestartSec=10s
|
||||
Restart=always
|
||||
LimitNOFILE=524288
|
||||
LimitNPROC=infinity
|
||||
LimitCORE=infinity
|
||||
TasksMax=infinity
|
||||
Delegate=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -11,4 +11,4 @@ disable_coredump=0
|
||||
enable_breakpad=1
|
||||
breakpad_minidump_dir=/tmp/packet_dump/crashreport
|
||||
enable_breakpad_upload=0
|
||||
breakpad_upload_url={{ breakpad_upload }}
|
||||
breakpad_upload_url={{ breakpad_upload_url }}
|
||||
|
||||
Reference in New Issue
Block a user