diff options
author | dec05eba <dec05eba@protonmail.com> | 2023-10-15 18:11:47 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2023-10-15 18:12:33 +0200 |
commit | bae4504370f335d64697a8d114174134b44d5f98 (patch) | |
tree | 919f6efac508ed149cd62d76f5465cffc01ef6fe /install.sh | |
parent | 3ae89c8d7c25f23a70bdec34c6e43cfe916f2d0c (diff) |
Install systemd service in install script, skip empty audio device
Stop systemd service with SIGINT
Diffstat (limited to 'install.sh')
-rwxr-xr-x | install.sh | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -11,6 +11,9 @@ strip gpu-screen-recorder install -Dm755 "gsr-kms-server" "/usr/bin/gsr-kms-server" install -Dm755 "gpu-screen-recorder" "/usr/bin/gpu-screen-recorder" +if [ -d "/usr/lib/systemd/user" ]; then + install -Dm644 "extra/gpu-screen-recorder.service" "/usr/lib/systemd/user/gpu-screen-recorder.service" +fi setcap cap_sys_admin+ep /usr/bin/gsr-kms-server setcap cap_sys_nice+ep /usr/bin/gpu-screen-recorder |