feat: add systemd user service for daemon mode

- contrib/teleportfling.service: per-user unit running the headless CLI
  with its own config (~/.config/teleportfling/daemon.json)
- contrib/install-daemon.sh: builds the binary, installs the unit and a
  starter daemon config
- contrib/README.md: install and management instructions
- todo.md: mark --config and daemon items complete
This commit is contained in:
2026-09-19 08:35:12 +01:00
parent 34efbaf26d
commit 973c75f3b4
4 changed files with 120 additions and 3 deletions
+16
View File
@@ -0,0 +1,16 @@
[Unit]
Description=TeleportFling screen and audio stream sender
Documentation=https://github.com/fzwoch/obs-teleport
After=graphical-session.target pipewire.service
PartOf=graphical-session.target
[Service]
Type=simple
ExecStart=%h/.local/bin/teleportfling --config %h/.config/teleportfling/daemon.json
Restart=on-failure
RestartSec=2
# The capture backend needs the session bus and a PipeWire instance.
Environment=XDG_RUNTIME_DIR=%t
[Install]
WantedBy=default.target