# Optional systemd unit. Not required -- the program is a plain foreground # process and an external launcher can start and stop it directly. # # sudo cp packaging/video-output@.service /etc/systemd/system/ # sudo systemctl start video-output@multiview # # The instance name is the profile name in /etc/video-output/.toml. [Unit] Description=Fullscreen video output (%i) After=graphical-session.target PartOf=graphical-session.target [Service] Type=simple ExecStart=/usr/local/bin/video-output %i Restart=always RestartSec=2 # Needs the user's Wayland session; systemd --user supplies these. Environment=SDL_VIDEODRIVER=wayland [Install] WantedBy=graphical-session.target