-
Notifications
You must be signed in to change notification settings - Fork 63
Wicket packaging #2245
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Wicket packaging #2245
Changes from 4 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
d7365db
wip
andrewjstone 8342e62
add wicketd config.toml
andrewjstone 5a97e0c
Change hardcoded wicketd port to match real sled-agent port
andrewjstone 44b0a24
uncomment smf for wicketd in package-manifest
andrewjstone fbd558c
fix copy-pasta
andrewjstone d40a0cb
Fix typos in wicketd smf manifest
andrewjstone 6c2888a
more wicketd manifest fixes
andrewjstone ec4452f
Change artifact port name and run mgs and wicketd in switch stub zone
andrewjstone File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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/oximeter/config.toml --address %{config/address} --artifact-address %{config/artifact-address} --mgs-port %{config/mgs-port} &' | ||
| 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.