Files
playit-agent/linux
Patrick LorioandGitHub 47e677f34c Enforce systemd requirement and make openrc alt package for .apk (#181)
* Use sysusers on systemd installs

- Add packaged sysusers config for playit
- Prefer systemd-sysusers when provisioning the service user
- Keep legacy user creation for non-systemd init systems

* Move sysusers config into bundled init path

- Install the playit sysusers file under `/opt/playit/share/init/systemd`
- Update postinstall to read the relocated config

* Install packaged sysusers config before running sysusers

- Copy the bundled playit sysusers file into `/usr/lib/sysusers.d/playit.conf` when it is missing
- Then run `systemd-sysusers` against the installed config

* Use /nonexistent home for playit service user

- Update pre/postinstall scripts to create the service account with `/nonexistent`
- Align sysusers entry with the same non-login home directory

* Move playit symlinks to /usr/bin and fix sysusers install

- Create the sysusers config before checking for existing accounts
- Install and remove playit CLI symlinks under /usr/bin
- Clean up legacy /usr/local/bin links on uninstall

* Add OpenRC APK packaging support

- Split OpenRC packaging into a dedicated nfpm config
- Add OpenRC install and removal scripts plus package output
- Update Linux packaging defaults, sysusers paths, and logrotate
2026-06-07 10:38:53 -07:00
..