Skip to content

Commit 8da23e0

Browse files
committed
dietpi-software: Syncthing: tiny
1 parent 2e83c48 commit 8da23e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dietpi/dietpi-software

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8823,7 +8823,7 @@ _EOF_
88238823
G_EXEC chmod 'g+rwx' /mnt/dietpi_userdata
88248824

88258825
# Run Syncthing to pre-create config dir and exit
8826-
G_EXEC_OUTPUT=1 G_EXEC runuser -u syncthing -- /opt/syncthing/syncthing -generate=/mnt/dietpi_userdata/syncthing
8826+
G_EXEC_OUTPUT=1 G_EXEC runuser -u syncthing -- /opt/syncthing/syncthing --generate=/mnt/dietpi_userdata/syncthing
88278827

88288828
# Allow remote access: https://docs.syncthing.net/users/faq.html#how-do-i-access-the-web-gui-from-another-computer
88298829
G_EXEC sed --follow-symlinks -i '\|:8384</address>|c\ <address>0.0.0.0:8384</address>' /mnt/dietpi_userdata/syncthing/config.xml
@@ -8848,7 +8848,7 @@ StartLimitBurst=3
88488848
[Service]
88498849
User=syncthing
88508850
UMask=002
8851-
ExecStart=/opt/syncthing/syncthing --no-browser --no-restart --logflags=0 -home=/mnt/dietpi_userdata/syncthing
8851+
ExecStart=/opt/syncthing/syncthing --no-browser --no-restart --logflags=0 --home=/mnt/dietpi_userdata/syncthing
88528852
Restart=on-failure
88538853
RestartSec=1
88548854
SuccessExitStatus=3 4

0 commit comments

Comments
 (0)