procd: support pidfile writing.
authorJohn Crispin <blogic@openwrt.org>
Thu, 10 Mar 2016 19:11:17 +0000 (19:11 +0000)
committerJohn Crispin <blogic@openwrt.org>
Thu, 10 Mar 2016 19:11:17 +0000 (19:11 +0000)
commit6a39f979354f562a597679e451d6dc9da6324458
tree13141d1b8f35f8b64ad1f3bc5f6fc800ebdd3d3d
parent860e96a71325377d7d30702aee534e14d10ba649
procd: support pidfile writing.

procd from revision b12bb150ed38a4409bef5127c77b060ee616b860 supports
writing a pidfile.  This adds support for setting that parameter with
standard init script hooks:

   procd_set_param pidfile /var/run/someprocess.pid

Signed-off-by: Karl Palsson <karlp@etactica.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48984 3c298f89-4303-0410-b956-a3cf2f4a3e73
package/system/procd/files/procd.sh