-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Package up `wicketd` and `wicket` with omicron-package. There are a couple things remaining to do: * We need to be able to have the `BOOTSTRAP_ARTIFACT_PORT` listen on a bootstrap address. It's currently hardcoded to use localhost which is wrong. * Should sled-agent construct a config file for wicket so it knows how to contact wicketd? Currently the wicketd port is just hardcoded inside wicket. Both of these will come in follow ups.
- Loading branch information
1 parent
cdda0d6
commit b231a80
Showing
13 changed files
with
143 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# | ||
# Example wicketd config file | ||
# | ||
|
||
[log] | ||
# Show log messages of this level and more severe | ||
level = "debug" | ||
# Example output to a terminal (with colors) | ||
mode = "stderr-terminal" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<?xml version="1.0"?> | ||
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1"> | ||
|
||
<service_bundle type='manifest' name='wicketd'> | ||
|
||
<service name='system/illumos/wicketd' type='service' version='1'> | ||
<create_default_instance enabled='false' /> | ||
<single_instance /> | ||
|
||
<dependency name='multi_user' grouping='require_all' restart_on='none' | ||
type='service'> | ||
<service_fmri value='svc:/milestone/multi-user:default' /> | ||
</dependency> | ||
|
||
<exec_method type='method' name='start' | ||
exec='ctrun -l child -o noorphan,regent /opt/oxide/wicketd/bin/wicketd run /var/svc/manifest/site/wicketd/config.toml --address %{config/address} --artifact-address %{config/artifact-address} --mgs-address %{config/mgs-address} &' | ||
timeout_seconds='0' /> | ||
<exec_method type='method' name='stop' exec=':kill' timeout_seconds='0' /> | ||
|
||
<property_group name='startd' type='framework'> | ||
<propval name='duration' type='astring' value='contract' /> | ||
</property_group> | ||
|
||
<property_group name='config' type='application'> | ||
<propval name='address' type='astring' value='unknown' /> | ||
<propval name='artifact-address' type='astring' value='unknown' /> | ||
<propval name='mgs-address' type='astring' value='unknown' /> | ||
</property_group> | ||
|
||
<stability value='Unstable' /> | ||
|
||
<template> | ||
<common_name> | ||
<loctext xml:lang='C'>Wicketd</loctext> | ||
</common_name> | ||
<description> | ||
<loctext xml:lang='C'>Technician Port Management Service</loctext> | ||
</description> | ||
</template> | ||
</service> | ||
|
||
</service_bundle> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters