services: Move pipewire into user service

Will be managed by runit service manager under voidlinux.
This commit is contained in:
Marty Oehme 2025-02-24 16:59:02 +01:00
parent 4f18b548f4
commit e08f88db9c
Signed by: Marty
GPG key ID: 4E535BC19C61886E
4 changed files with 12 additions and 3 deletions

3
services/sv/pipewire/control/t Executable file
View file

@ -0,0 +1,3 @@
#!/bin/sh
# https://github.com/classabbyamp/dotfiles/commit/98012e177f8df0731eb46dd236596400b9894a4d
[ -r supervise/pid ] && kill -TERM -$(cat supervise/pid)

3
services/sv/pipewire/log/run Executable file
View file

@ -0,0 +1,3 @@
#!/usr/bin/env sh
exec vlogger -t pipewire -p daemon

6
services/sv/pipewire/run Executable file
View file

@ -0,0 +1,6 @@
#!/bin/sh
[ -r ./conf ] && . ./conf
exec 2>&1
exec chpst -e "$TURNSTILE_ENV_DIR" pipewire "$OPTS"