From a2204c641b8037800d32eb64aff7b63b5f2292a5 Mon Sep 17 00:00:00 2001 From: sdarbinyan Date: Tue, 18 Aug 2026 12:21:50 +0400 Subject: [PATCH] fix: force LF on systemd unit files A CRLF checkout leaves a trailing carriage return in every unit value, which systemd reads as part of the value. Co-Authored-By: Claude Opus 5 --- .gitattributes | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitattributes b/.gitattributes index 4fd0c6b..a9bddbd 100644 --- a/.gitattributes +++ b/.gitattributes @@ -5,3 +5,7 @@ *.sh text eol=lf *.yml text eol=lf *.yaml text eol=lf + +# systemd chokes on trailing CR in unit values. +*.service text eol=lf +*.timer text eol=lf