From 8210430986570da5177fba27473466f59de0d7fc Mon Sep 17 00:00:00 2001 From: Vitali Graf Date: Mon, 6 Apr 2026 20:30:09 +0200 Subject: [PATCH] feat: add systemd user service unit --- systemd/whisper-local.service | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 systemd/whisper-local.service diff --git a/systemd/whisper-local.service b/systemd/whisper-local.service new file mode 100644 index 0000000..22c10d1 --- /dev/null +++ b/systemd/whisper-local.service @@ -0,0 +1,13 @@ +[Unit] +Description=Whisper Local - Speech to Text +After=graphical-session.target + +[Service] +Type=simple +ExecStart=%h/.local/bin/whisper-local +Restart=on-failure +RestartSec=5 +Environment=XDG_RUNTIME_DIR=/run/user/%U + +[Install] +WantedBy=default.target