planktoscope/software/scripts/raspimjpeg/macros/error_hard.sh

9 lines
170 B
Bash
Executable file

#!/bin/bash
# SPDX-License-Identifier: GPL-3.0-or-later
sudo killall -15 python3
sudo killall -15 raspimjpeg
sleep 10
sudo killall -9 python3
sudo killall -9 raspimjpeg