refactor: better systemd service (#161)

* move `pwsp-daemon.service` from `pwsp-gui/assets` to pwsp-daemon/assets + autorestart service + better logging + wait for pipewire until start

* adapt all packages

* improve systemd service calling for .deb package
This commit is contained in:
Tarasov Aleksandr
2026-07-07 21:29:26 +03:00
committed by GitHub
parent a91252d7fb
commit ec4e873071
10 changed files with 99 additions and 16 deletions
+2 -1
View File
@@ -38,6 +38,7 @@ percent-encoding.workspace = true
name = "pwsp"
section = "sound"
priority = "optional"
maintainer-scripts = "maintainer-scripts"
assets = [
[
"target/release/pwsp-daemon",
@@ -65,7 +66,7 @@ assets = [
"644",
],
[
"assets/pwsp-daemon.service",
"../pwsp-daemon/assets/pwsp-daemon.service",
"usr/lib/systemd/user/pwsp-daemon.service",
"644",
],