#!/bin/sh
# @(#)restart-pap.sh	1.8 revision of 97/05/06  16:58:17
# This is an unpublished work copyright (c) 1989 HELIOS Software GmbH
# 30159 Hannover, Germany

ESDIR=/usr/local/es
export ESDIR

$ESDIR/etc/forall papsrv kill -1
while test $? -ne 0
do
	sleep 2
	$ESDIR/etc/forall papsrv kill -1
done
$ESDIR/papsrv
exit 0
