diff options
author | dreieck | 2023-02-02 00:45:52 +0100 |
---|---|---|
committer | dreieck | 2023-02-02 00:45:52 +0100 |
commit | d47892ed1a5d7a6a1721a1d4ad46eacdf92533f2 (patch) | |
tree | 9b6d96a8c4c0ff68d7befa50a0526ea2c39661c5 /pipewire-openrc.install | |
parent | 2055a9722576d75907632aac4ea9b772e6c65698 (diff) | |
download | aur-pipewire-openrc.tar.gz |
Added a warning to post_install() that you are better off starting things as user, not system-wide.
Diffstat (limited to 'pipewire-openrc.install')
-rw-r--r-- | pipewire-openrc.install | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pipewire-openrc.install b/pipewire-openrc.install index f8d093352cc5..8fa9d706f81f 100644 --- a/pipewire-openrc.install +++ b/pipewire-openrc.install @@ -1,4 +1,10 @@ post_install() { - printf '%s\n' "Adding 'pipewire' system user and group ..." + printf '\n' + printf '%s\n' " -> Adding 'pipewire' system user and group ..." id -u pipewire > /dev/null 2>&1 || useradd --system --home-dir /run/pipewire --no-create-home --user-group --groups audio,video,dbus pipewire + + printf '\n' + printf '%s\n' " -> NOTE! Things usually will run better when the services are not started system-wide, but as user processes." + printf '%s\n' " You _might_ end up with no sound at all if you start things system wide." + printf '\n' } |