action.c: use kill() instead of spawning killall

Also update documentation to say `killall -s SIGHUP labwc` to make
it work on Void Linux.

Fix #393

Backport of 5f30773a6e
This commit is contained in:
Johan Malm 2022-06-14 22:45:45 +01:00 committed by Consolatis
parent f20fc65f41
commit 67ed986969
2 changed files with 3 additions and 3 deletions

View file

@ -85,7 +85,7 @@ Labwc uses the files listed below for configuration and theming.
The example [rc.xml] has been kept simple. For all options and default values, see [rc.xml.all]
Configuration and theme files are reloaded on receiving SIGHUP (e.g. `killall -SIGHUP labwc`)
Configuration and theme files are reloaded on receiving SIGHUP (e.g. `killall -s SIGHUP labwc`)
For keyboard settings, see [environment] and [xkeyboard-config(7)]