From 98ff723b2406f8cef902d5fab87c794092e42904 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Tue, 15 Nov 2011 09:20:27 +0100 Subject: [PATCH] add another example for __process Signed-off-by: Nico Schottelius --- conf/type/__process/man.text | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/conf/type/__process/man.text b/conf/type/__process/man.text index fd3bcf49..065beeef 100644 --- a/conf/type/__process/man.text +++ b/conf/type/__process/man.text @@ -50,6 +50,10 @@ __process /usr/sbin/sshd --state stopped --stop "/etc/rc.d/sshd stop" # Ensure cups is running, which runs with -C ...: __process cups --start "/etc/rc.d/cups start" --state running \ --name "/usr/sbin/cupsd -C /etc/cups/cupsd.conf" + +# Ensure rpc.statd is running (which usually runs with -L) using a regexp +__process rpcstatd --state running --start "/etc/init.d/statd start" \ + --name "rpc.statd.*" --------------------------------------------------------------------------------