Skip to content

Commit

Permalink
Merge pull request #454 from Poeschl/dev
Browse files Browse the repository at this point in the history
Fix Syncthing addon
  • Loading branch information
Poeschl committed Jan 13, 2024
2 parents 253362e + c907a49 commit cccb73d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions syncthing/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.18.1 - 2024-01-13

* 🐛 Fix migration issue

## 1.18.0 - 2024-01-13

* 🔨 Configure Syncthing via environment variables instead of CLI arguments where possible and properly separate config and database/state directories (thanks @salim-b | #450)
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.18.0"
version: "1.18.1"
slug: syncthing
description: "Syncthing is a continuous file synchronization program in a
de-centralized way"
Expand Down
4 changes: 2 additions & 2 deletions syncthing/root/etc/s6-overlay/s6-rc.d/syncthing/run
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ if [ -d /data/config ]
then
for CONF_FILE in config.xml cert.pem key.pem https-cert.pem https-key.pem
do
[ -f "/data/config/${CONF_FILE}" ] && mv -fu "/data/config/${CONF_FILE}" /config/ && rm -f "/data/config/${CONF_FILE}"
[ -f "/data/config/${CONF_FILE}" ] && mv -fn "/data/config/${CONF_FILE}" /config/ && rm -f "/data/config/${CONF_FILE}"
done
mv -fu /data/config/* /data/ && rm -f /data/config
mv -fn /data/config/* /data/ && rm -f /data/config
fi

bashio::log.info 'Starting Syncthing'
Expand Down

0 comments on commit cccb73d

Please sign in to comment.