FDH2 / UxPlay

AirPlay Unix mirroring server
GNU General Public License v3.0
1.35k stars 72 forks source link

add `systemd` service #317

Open Deuchnord opened 1 day ago

Deuchnord commented 1 day ago

Hello, thanks for this incredible project!

As a regular user, I'd like UxPlay to start automatically as soon as I open my session, and I didn't want to keep a terminal open. Here I propose a minimal systemd service that allows to start UxPlay as a daemon.

This way, we can start uxplay with systemctl start --user uxplay. If we want to make it start at login, systemctl enable --user uxplay will do it.

Hope this will help!