Skip to content
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

[syncthing] Remove unneeded CLI args #472

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions syncthing/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.19.1 - 2024-04-??

* 🔨 Remove unneeded CLI arguments from setup script (#472).

## 1.19.0 - 2024-03-24

* 🔨 Mount all available directories into add-on container and improve documentation. Home Assistant's config folder is now available under `/homeassistant` and the configuration of all Home Assistant add-ons under `/addon_configs` (fixes #460, @salim-b | #467).
Expand Down
2 changes: 1 addition & 1 deletion syncthing/config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Syncthing
version: "1.19.0"
version: "1.19.1"
slug: syncthing
description: "Syncthing is a continuous file synchronization program in a
de-centralized way"
Expand Down
3 changes: 1 addition & 2 deletions syncthing/root/etc/s6-overlay/s6-rc.d/syncthing-setup/run
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,4 @@ fi
bashio::net.wait_for 8384 "$ip"
bashio::log.info 'Post-Start syncthing setup'

apikey=$(grep -o '<apikey>[^<]*' /config/config.xml | sed 's/<apikey>//;s/<\/apikey>//')
syncthing cli --gui-address="$ip:8384" --gui-apikey="$apikey" config gui insecure-admin-access set true
syncthing cli config gui insecure-admin-access set true
Loading