antimof / UxPlay

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

add `systemd` service #168

Closed Deuchnord closed 3 months ago

Deuchnord commented 3 months 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!

Deuchnord commented 3 months ago

Woops, wrong repo, didn't see #166. I'll repost this to https://github.com/FDH2/UxPlay (https://github.com/FDH2/UxPlay/pull/317).