fix systemd service running in proper env

This commit is contained in:
LeonardoTrapani
2025-09-07 23:36:28 +02:00
parent bcbf15017f
commit e53fb42cc3
+1 -2
View File
@@ -6,10 +6,9 @@ Wants=pipewire.service
[Service] [Service]
Type=simple Type=simple
ExecStart=/usr/bin/hyprvoice serve ExecStart=%h/.local/bin/hyprvoice serve
Restart=on-failure Restart=on-failure
RestartSec=5 RestartSec=5
Environment=XDG_RUNTIME_DIR=/run/user/%i
[Install] [Install]
WantedBy=default.target WantedBy=default.target