From 5e37a70a514c9342ed23ca029d716deadb183948 Mon Sep 17 00:00:00 2001 From: cuu Date: Fri, 14 May 2021 10:01:26 +0800 Subject: [PATCH] edit devterm-printer.service --- .../etc/systemd/system/devterm-printer.service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Code/thermal_printer/etc/systemd/system/devterm-printer.service b/Code/thermal_printer/etc/systemd/system/devterm-printer.service index 51d544c..f4e93ac 100644 --- a/Code/thermal_printer/etc/systemd/system/devterm-printer.service +++ b/Code/thermal_printer/etc/systemd/system/devterm-printer.service @@ -4,8 +4,8 @@ After=devterm-socat [Service] Type=simple -StandardOutput=/tmp/devterm_printer.log -StandardError=/tmp/devterm_printer.err.log +StandardOutput=file:/tmp/devterm_printer.log +StandardError=file:/tmp/devterm_printer.err.log ExecStart=/usr/local/bin/devterm_thermal_printer.elf