Merge pull request #377 from anntnzrb/kill-patch

Prefer pkill over killall
This commit is contained in:
Luke Smith 2021-08-23 17:26:55 -04:00 committed by GitHub
commit d02e951498
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -242,7 +242,7 @@ grep -q "OTHER_OPTS='-a pulseaudio -m alsa_seq -r 48000'" /etc/conf.d/fluidsynth
echo "OTHER_OPTS='-a pulseaudio -m alsa_seq -r 48000'" >> /etc/conf.d/fluidsynth
# Start/restart PulseAudio.
killall pulseaudio; sudo -u "$name" pulseaudio --start
pkill -15 -x 'pulseaudio'; sudo -u "$name" pulseaudio --start
# This line, overwriting the `newperms` command above will allow the user to run
# serveral important commands, `shutdown`, `reboot`, updating, etc. without a password.