d
This commit is contained in:
16
config/systemd/captrace.service
Normal file
16
config/systemd/captrace.service
Normal 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
|
||||
Reference in New Issue
Block a user