From ad880babf5950fbc670ce2b7e89582b5686f4702 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Thu, 13 Aug 2020 18:55:22 +0200 Subject: [PATCH] lenovo_fix.service: Don't use deprecated logging options anymore `StandardError` and `StandardOutput` don't support `syslog` anymore (they're long gone from the systemd manpages), and since 246, are migrated to `journal` under the hood. As `journal` is also the default, don't configure it explicitly at all. Related: https://github.com/NixOS/nixpkgs/pull/95353 --- systemd/lenovo_fix.service | 2 -- 1 file changed, 2 deletions(-) diff --git a/systemd/lenovo_fix.service b/systemd/lenovo_fix.service index 72fc963..28b8a47 100644 --- a/systemd/lenovo_fix.service +++ b/systemd/lenovo_fix.service @@ -6,8 +6,6 @@ Type=simple ExecStart=/opt/lenovo_fix/venv/bin/python3 /opt/lenovo_fix/lenovo_fix.py # Setting PYTHONUNBUFFERED is necessary to see the output of this service in the journal Environment=PYTHONUNBUFFERED=1 -StandardOutput=syslog -StandardError=syslog [Install] WantedBy=multi-user.target