procd: update procd.sh to support sending kill signal to a service
authorHans Dedecker <dedeckeh@gmail.com>
Mon, 19 Dec 2016 22:00:21 +0000 (23:00 +0100)
committerJohn Crispin <john@phrozen.org>
Tue, 20 Dec 2016 08:35:54 +0000 (09:35 +0100)
commitbbe825c74d15d4ea5bd9b2ef11da99145d03a40b
tree73772c4a9569c0715f4efb09561eca37efc589e9
parentd700c120bffe806aa23442cbbcce30e1c1886b79
procd: update procd.sh to support sending kill signal to a service

Add procd_send_signal which allows to send an optional specified
kill signal to one specified  or all instances of a given service.
By default SIGHUP is sent if no signal is specified

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
package/system/procd/files/procd.sh