From 480a1028ad6ec33455f50dac3b600a7067f7b303 Mon Sep 17 00:00:00 2001 From: Linus Nuber Date: Sun, 8 Nov 2026 17:47:52 +0100 Subject: [PATCH] =?UTF-8?q?=C3=84nderung=20des=20state=20dirs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- keepassctl.service | 2 +- keepassctl.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/keepassctl.service b/keepassctl.service index e9d706a..3d2cf88 100644 --- a/keepassctl.service +++ b/keepassctl.service @@ -4,7 +4,7 @@ After=network.target [Service] Type=simple -ExecStart=/sync/data/Linus/scripts/keepassctl.sh +ExecStart=%h/sync/data/Linus/scripts/keepassctl.sh Restart=on-failure [Install] diff --git a/keepassctl.sh b/keepassctl.sh index fe9630a..1e5462c 100755 --- a/keepassctl.sh +++ b/keepassctl.sh @@ -2,8 +2,8 @@ declare -r DEBUG=false -readonly LOGDIR="/tmp/keepassctl" -readonly RESTART="$LOGDIR/restart" +readonly LOGDIR="$HOME/.local/state/keepassctl" +readonly RESTART="$LOGDIR/.restart" mkdir -p "$LOGDIR" if ! $DEBUG; then