Cross Reference: svc-ocspd
xref
: /
solaris-userland
/
components
/
openca-ocspd
/
Solaris
/
svc-ocspd
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
#!/
usr
/
sbin
/
sh
#
# Copyright (c) 2016, Oracle
and
/
or
its affiliates. All rights reserved.
#
. /
lib
/
svc
/
share
/
smf_include.sh
CONF_FILE
=/
etc
/
ocspd
/
ocspd.xml
;
PIDFILE
=
$SMF_SYSVOL_FS
/
ocspd.pid
;
case
"$1"
in
'start'
)
/
usr
/
lib
/
ocspd
-c
"
$CONF_FILE
"
-d
;;
'restart'
)
if
[ -f
"
$PIDFILE
"
];
then
/
usr
/
bin
/
kill
-
HUP
`/
usr
/
bin
/
cat
$PIDFILE
`
fi
;;
*)
echo
"Usage: $0 { start | restart }"
exit
1
;;
esac
exit
$?