Syncthing cleanup

This commit is contained in:
2023-08-25 20:40:18 -07:00
parent 134183029f
commit 38966e4a63
2 changed files with 20 additions and 25 deletions
+1 -20
View File
@@ -1,22 +1,5 @@
#!/bin/bash
# Files go here
mkdir /stdata
# Configs go here
mkdir /stconfig
mkdir /stconfig/config
chown -R syncthing:syncthing /stdata
chmod -R 774 /stdata
chown -R syncthing:syncthing /stconfig
chmod -R 774 /stconfig
su - syncthing -c '
cd /stconfig
syncthing-relaysrv \
-pools="" \
-keys="/stconfig" \
@@ -24,13 +7,11 @@ syncthing-relaysrv \
-ping-interval="30s" \
-protocol="tcp4" \
-provided-by="Betalupi" \
-status-srv=""' &
-status-srv="" &
su - syncthing -c '
syncthing \
-gui-address=0.0.0.0:8384 \
-home="/stconfig/config" \
--no-browser
'