# punktfunk streaming host — systemd USER unit. # # Install: # mkdir -p ~/.config/systemd/user && cp scripts/punktfunk-host.service ~/.config/systemd/user/ # cp scripts/host.env.example ~/.config/punktfunk/host.env # then edit # systemctl --user daemon-reload && systemctl --user enable --now punktfunk-host # # The unit assumes the compositor session (e.g. headless KWin on wayland-kde) is already up; # for a fully self-contained appliance, pair it with a kwin_wayland user unit it can After=. [Unit] Description=punktfunk GameStream host After=pipewire.service [Service] EnvironmentFile=%h/.config/punktfunk/host.env ExecStart=%h/punktfunk/target/release/punktfunk-host serve Restart=on-failure RestartSec=2 [Install] WantedBy=default.target