From 859fd4ece30c74067313526033ce15856d366b1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakobus=20Sch=C3=BCrz?= Date: Wed, 12 Feb 2020 00:52:13 +0100 Subject: [PATCH] add -u to flush stdoud immediately --- workdirfs.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workdirfs.service b/workdirfs.service index 2766e6f..370c476 100644 --- a/workdirfs.service +++ b/workdirfs.service @@ -3,5 +3,5 @@ Description=Daily working directory ~/Work [Service] Environment=SRC=%h/archive DST=%h/Work -ExecStart=/usr/bin/python3 /usr/local/bin/workdirfs.py ${SRC} ${DST} +ExecStart=/usr/bin/python3 -u /usr/local/bin/workdirfs.py ${SRC} ${DST} ExecStop=/usr/bin/fusermount -u ${DST}