File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -8823,7 +8823,7 @@ _EOF_
8823
8823
G_EXEC chmod 'g+rwx' /mnt/dietpi_userdata
8824
8824
8825
8825
# 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
8827
8827
8828
8828
# Allow remote access: https://docs.syncthing.net/users/faq.html#how-do-i-access-the-web-gui-from-another-computer
8829
8829
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
8848
8848
[Service]
8849
8849
User=syncthing
8850
8850
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
8852
8852
Restart=on-failure
8853
8853
RestartSec=1
8854
8854
SuccessExitStatus=3 4
You can’t perform that action at this time.
0 commit comments