fixed
This commit is contained in:
@@ -7,9 +7,9 @@ sudo systemctl stop birdnet_recording.service
|
||||
sudo rm -rf ${RECS_DIR}/$(date +%B-%Y/%d-%A)/*
|
||||
sudo systemctl start birdnet_recording.service
|
||||
|
||||
services=$(awk '/service/ && /systemctl/ && !/php/ {print $3}' ${my_dir}/install_services.sh | sort)
|
||||
services=($(awk '/service/ && /systemctl/ && !/php/ {print $3}' ${my_dir}/install_services.sh | sort))
|
||||
|
||||
for i in "${services[@]}";do
|
||||
sudo systemctl restart ${i}
|
||||
sudo systemctl restart "${i}"
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user