0
0

Signal.php 183 B

123456789101112131415
  1. <?php
  2. namespace app\common\behavior;
  3. class Signal
  4. {
  5. public function run(&$params)
  6. {
  7. pcntl_signal(SIGTERM, function ($signo) {
  8. exit;
  9. });
  10. }
  11. }