mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-09 09:05:55 +02:00
Update 81-modifications.sh
This commit is contained in:
@@ -30,8 +30,8 @@ echo "... redirecting services logs to container logs"
|
|||||||
while IFS= read -r file; do
|
while IFS= read -r file; do
|
||||||
sed -i "/StandardError/d" "$file"
|
sed -i "/StandardError/d" "$file"
|
||||||
sed -i "/StandardOutput/d" "$file"
|
sed -i "/StandardOutput/d" "$file"
|
||||||
sed -i "/Service/a StandardError=append:/proc/1/fd/1" "$file"
|
sed -i "/\[Service/a StandardError=append:/proc/1/fd/1" "$file"
|
||||||
sed -i "/Service/a StandardOutput=append:/proc/1/fd/1" "$file"
|
sed -i "/\[Service/a StandardOutput=append:/proc/1/fd/1" "$file"
|
||||||
done < <(find "$HOME/BirdNET-Pi/templates/" -name "*.service" -print)
|
done < <(find "$HOME/BirdNET-Pi/templates/" -name "*.service" -print)
|
||||||
|
|
||||||
# Avoid preselection in include and exclude lists
|
# Avoid preselection in include and exclude lists
|
||||||
|
|||||||
Reference in New Issue
Block a user