mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 10:21:02 +01: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
|
||||
sed -i "/StandardError/d" "$file"
|
||||
sed -i "/StandardOutput/d" "$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 StandardError=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)
|
||||
|
||||
# Avoid preselection in include and exclude lists
|
||||
|
||||
Reference in New Issue
Block a user