# Blitztext user service. # Install: # mkdir -p ~/.config/systemd/user # cp blitztext.service ~/.config/systemd/user/ # # edit ExecStart path below if your checkout differs # systemctl --user daemon-reload # systemctl --user enable --now blitztext # # A global-hotkey daemon needs the graphical session, hence the env below. [Unit] Description=Blitztext dictation daemon After=graphical-session.target PartOf=graphical-session.target [Service] Type=simple # Adjust this path to your checkout location: ExecStart=%h/Docker/blitztext-app/linux/.venv/bin/python -m blitztext run Environment=DISPLAY=:1 # If you use rewrite workflows, set your key here or in the unit's environment: # Environment=OPENAI_API_KEY=your-api-key-here Restart=on-failure RestartSec=3 [Install] WantedBy=graphical-session.target