mirror of
https://git.cloudron.io/cloudron/syncthing-app
synced 2025-09-23 05:17:33 +00:00
app running failure fixed
This commit is contained in:
2
start.sh
2
start.sh
@@ -7,7 +7,7 @@ mkdir -p /app/data/config /app/data/folders /run/syncthing
|
||||
# if this if the first run, generate a useful config
|
||||
if [[ ! -f /app/data/config/config.xml ]]; then
|
||||
echo "=> Generating config"
|
||||
STNODEFAULTFOLDER=1 /app/code/syncthing --generate="/app/data/config"
|
||||
STNODEFAULTFOLDER=1 /app/code/syncthing generate --home="/app/data/config"
|
||||
|
||||
# The password value (changeme) was determined by reading config.xml and setting value in the GUI
|
||||
# urAccepted is 0 for not decided, -1 for no reporting
|
||||
|
Reference in New Issue
Block a user