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