mirror of
https://github.com/playit-cloud/playit-agent.git
synced 2026-07-05 06:48:41 +00:00
* Adopt nFPM for Linux release packages - Build deb, rpm, apk, archlinux, and ipk artifacts - Update service, socket, and install scripts for the new package layout - Adjust Linux socket permissions for the playit runtime directory * Normalize package input paths in nfpm script - Resolve relative inputs from the start directory - Canonicalize directory portions when possible - Preserve absolute paths unchanged * Install Arch service file under /usr/lib/systemd/system - Update nfpm packaging path for the Arch Linux systemd unit - Keep the service install location aligned with Arch packaging conventions * Handle permission-denied socket inspection on Linux - Fall back to parent directory group checks when socket metadata is unreadable - Reuse playit group access classification for socket and parent paths * Package playitd alongside playit in nfpm builds - Add `/usr/local/bin/playitd` symlink to the package manifest - Create and remove the `playitd` launcher during install and uninstall * Drop IPK packaging and split APK nfpm config - Remove ipk outputs from download and package scripts - Use a dedicated nfpm config for APK packages - Keep shared service install paths on the main config
18 lines
453 B
Desktop File
18 lines
453 B
Desktop File
[Unit]
|
|
Description=Playit Agent
|
|
Documentation=https://playit.gg
|
|
Wants=network-pre.target
|
|
After=network-pre.target NetworkManager.service systemd-resolved.service
|
|
|
|
[Service]
|
|
User=playit
|
|
Group=playit
|
|
RuntimeDirectory=playit
|
|
RuntimeDirectoryMode=0750
|
|
UMask=0007
|
|
ExecStart=/opt/playit/playitd --secret-path /etc/playit/playit.toml --socket-path /run/playit/playitd.sock -l /var/log/playit/playit.log
|
|
Restart=on-failure
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|