These require some traffic to be actually captured. Also note that the subprocess is immediately sent to the background.
In recent distributions (e.g., Debian 10 and Ubuntu 18) AppArmor limits the `postrotate-command` to a small subset of predefined commands thus preventing the execution of the following.