-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update specfile to include config from release dir (#68)
* Update specfile to include config from release dir * Use a SystemMessageBus and a config for dbus
- Loading branch information
Showing
5 changed files
with
49 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-Bus Bus Configuration 1.0//EN" | ||
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> | ||
<busconfig> | ||
<!-- Allow the command line assistant service to own the name --> | ||
<policy context="default"> | ||
<allow own="com.redhat.lightspeed"/> | ||
</policy> | ||
|
||
<!-- Allow any user to invoke methods --> | ||
<policy context="default"> | ||
<allow send_destination="com.redhat.lightspeed"/> | ||
<allow receive_sender="com.redhat.lightspeed"/> | ||
</policy> | ||
</busconfig> |
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,19 @@ | ||
[output] | ||
# otherwise recording via script session will be enforced | ||
enforce_script = false | ||
# file with output(s) of regular commands (e.g. ls, echo, etc.) | ||
file = "/tmp/command-line-assistant/output.txt" | ||
# Keep non-empty if your file contains only output of commands (not prompt itself) | ||
prompt_separator = "$" | ||
|
||
[history] | ||
enabled = true | ||
file = "/tmp/command-line-assistant/history.json" | ||
# max number of queries in history (including responses) | ||
max_size = 100 | ||
|
||
[backend] | ||
endpoint = "http://localhost:8080" | ||
|
||
[logging] | ||
level = "DEBUG" |
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