Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
[Unit]
Description=v4l2 camera device init and capture auto test service

[Service]
StandardOutput=journal+console
Type=forking
ExecStart=/etc/init.d/v4l2_dev_test.sh
#StandardOutput=tty # console output
#StandardError=tty # console output
StandardOutput=append:/var/v4l2_dev_test_standard_output.log  
StandardError=append:/var/v4l2_dev_test_standard_error.log  

[Install]
WantedBy=multi-user.target

n In the default configuration, the standard output will be output to /var/v4l2_dev_test_standard_output.log.

...