1 System Administration Commands pkg.depotd(1M) |
1 System Administration Commands pkg.depotd(1M) |
2 |
2 |
3 |
3 |
4 NAME |
4 NAME |
5 pkg.depotd - image packaging system depot server |
5 pkg.depotd - image packaging system depot server |
6 |
6 |
7 SYNOPSIS |
7 SYNOPSIS |
8 /usr/lib/pkg.depotd |
8 /usr/lib/pkg.depotd [--readonly] [-d repo_dir] [-p port] |
9 |
9 |
10 DESCRIPTION |
10 DESCRIPTION |
11 pkg.depotd is the depot server for the image packaging system. |
11 pkg.depotd is the depot server for the image packaging system. |
12 pkg(1), the retrieval client, makes requests of the depot server |
12 pkg(1), the retrieval client, makes requests of the depot server |
13 for catalogs and packages. pkgsend(1), the publication client, |
13 for catalogs and packages. pkgsend(1), the publication client, |
18 |
18 |
19 The pkg.depot server is generally configured via the smf(5) |
19 The pkg.depot server is generally configured via the smf(5) |
20 properties associated with its service instance. Two properties |
20 properties associated with its service instance. Two properties |
21 are currently recognized |
21 are currently recognized |
22 |
22 |
23 application/port (count) The port number on which this |
23 application/port (count) The port number on which this |
24 instance of should listen for incoming |
24 instance of should listen for incoming |
25 package requests. The default value is |
25 package requests. The default value is |
26 80. |
26 80. |
27 |
27 |
28 application/repo_root (astring) The file system path at which |
28 application/read_only (boolean) Modifying operations, such as |
29 this instance should find its repository |
29 those initiated by pkgsend(1M) are |
30 data. The default value is |
30 disabled. Retrieval operations are |
31 /var/pkg/repo. |
31 still available. |
|
32 |
|
33 application/repo_dir (astring) The file system path at which |
|
34 this instance should find its repository |
|
35 data. The default value is |
|
36 /var/pkg/repo. |
|
37 |
|
38 OPTIONS |
|
39 The following options alter the default behavior, if present, and |
|
40 will override the settings from the service instance when managed |
|
41 via an smf(5) restarter: |
|
42 |
|
43 -d repo_dir Overrides application/repo_dir with the |
|
44 value given by repo_dir. |
|
45 |
|
46 -p port Overrides application/port with the |
|
47 value given by port. |
|
48 |
|
49 --readonly Overrides application/read_only to be |
|
50 true. |
32 |
51 |
33 EXAMPLES |
52 EXAMPLES |
34 Example 1: Enabling the depot server. |
53 Example 1: Enabling the depot server. |
35 |
54 |
36 # svcadm enable application/pkg/server:default |
55 # svcadm enable application/pkg/server:default |
37 |
56 |
38 Example 2: Changing the listening port of the server. |
57 Example 2: Changing the listening port of the server. |
39 |
58 |
40 # svccfg -s application/pkg/server:default set application/port = 9999 |
59 # svccfg -s application/pkg/server:default set application/port = 9999 |
41 # svcadm refresh application/pkg/server:default |
60 # svcadm refresh application/pkg/server:default |
42 # svcadm restart application/pkg/server:default |
61 # svcadm restart application/pkg/server:default |
43 |
62 |
44 EXIT STATUS |
63 EXIT STATUS |
45 The following exit values are returned: |
64 The following exit values are returned: |
46 |
65 |
47 0 Successful operation. |
66 0 Successful operation. |
48 |
67 |
49 1 Error encountered. |
68 1 Error encountered. |
50 |
69 |
51 2 Invalid command line options were specified. |
70 2 Invalid command line options were specified. |
52 |
71 |
53 FILES |
72 FILES |
54 /var/pkg/repo Default repository location; modify |
73 /var/pkg/repo Default repository location; modify |
55 application/repo_root to select an |
74 application/repo_root to select an |
56 alternate location. |
75 alternate location. |
57 |
76 |
58 ATTRIBUTES |
77 ATTRIBUTES |
59 See attributes(5) for descriptions of the following attri- |
78 See attributes(5) for descriptions of the following attri- |
60 butes: |
79 butes: |
61 ____________________________________________________________ |
80 ____________________________________________________________ |
69 |
88 |
70 NOTES |
89 NOTES |
71 The image packaging system is an under-development feature. |
90 The image packaging system is an under-development feature. |
72 Command names, invocation, formats, and operations are all subject |
91 Command names, invocation, formats, and operations are all subject |
73 to change. Development is hosted in the OpenSolaris community |
92 to change. Development is hosted in the OpenSolaris community |
74 at |
93 at |
75 |
94 |
76 http://opensolaris.org/os/project/pkg/ |
95 http://opensolaris.org/os/project/pkg/ |
77 |
96 |
78 The pkd.depotd service is managed by the service management |
97 The pkd.depotd service is managed by the service management |
79 facility, smf(5), under the service identifier: |
98 facility, smf(5), under the service identifier: |