services: Move pipewire into user service
Will be managed by runit service manager under voidlinux.
This commit is contained in:
parent
4f18b548f4
commit
e08f88db9c
4 changed files with 12 additions and 3 deletions
3
services/sv/pipewire/control/t
Executable file
3
services/sv/pipewire/control/t
Executable 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
3
services/sv/pipewire/log/run
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
exec vlogger -t pipewire -p daemon
|
||||
6
services/sv/pipewire/run
Executable file
6
services/sv/pipewire/run
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
[ -r ./conf ] && . ./conf
|
||||
|
||||
exec 2>&1
|
||||
exec chpst -e "$TURNSTILE_ENV_DIR" pipewire "$OPTS"
|
||||
Loading…
Add table
Add a link
Reference in a new issue