This commit is contained in:
simonzhangsz committed 2023-09-01 12:11:05 +08:00
1 parent a3d771fd64
commit 93f3b1c4a4
2 files changed
+19

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
[Unit]
Description=Capture trace data from NF daemon
After=network-online.target
[Service]
Type=simple
LimitNOFILE=65535
Restart=always
ExecStart=/usr/local/omc/bin/captrace -c /usr/local/omc/etc/capconf.yaml
RestartSec=2
RestartPreventExitStatus=1
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target