Which two commands restart the pkg server daemon?

Which two commands restart the pkg server daemon?

Which two commands restart the pkg server daemon?

A.
pkill -HUP pkg.depotd

B.
svcadm restart svc:/application/pkg/server

C.
pkill -USR1 pkg.depot

D.
svcadm refresh svc:/application/pkg/server

E.
pkg fix

Explanation:
Use one of the following methods to restart the depot server process:
B: Use svcadm(1M) to restart the application/pkg/server instance.
C: Send a SIGUSR1 signal to the depot server process using kill(1). This executes a “graceful

restart” that leaves the process intact but reloads all configuration, package, and search data:
# kill -USR1 pid
Note:
* The pkd.depotd service is managed by SMF under the service identifier
svc:/application/pkg/server.



Leave a Reply 2

Your email address will not be published. Required fields are marked *


Fouad

Fouad

B,C

man pkg.depotd

Send a SIGUSR1 signal to the depot server process
using kill(1). This executes a “graceful restart”
that leaves the process intact but reloads all con-
figuration, package, and search data: