Prefer pkill over killall

This commit is contained in:
anntnzrb 2021-08-23 15:33:45 -05:00
parent b4167af0e7
commit 5308452390

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 echo "OTHER_OPTS='-a pulseaudio -m alsa_seq -r 48000'" >> /etc/conf.d/fluidsynth
# Start/restart PulseAudio. # 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 # This line, overwriting the `newperms` command above will allow the user to run
# serveral important commands, `shutdown`, `reboot`, updating, etc. without a password. # serveral important commands, `shutdown`, `reboot`, updating, etc. without a password.