mirror of
https://github.com/flynx/proxmox-utils.git
synced 2025-10-29 11:10:09 +00:00
tweaks...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
903fa194ae
commit
508dd23f0f
@ -25,7 +25,7 @@ DFL_ID=${DFL_ID:=301}
|
||||
DFL_CTHOSTNAME=${DFL_CTHOSTNAME:=syncthing}
|
||||
|
||||
DFL_RAM=${DFL_RAM:=1024}
|
||||
DFL_SWAP=${DFL_SWAP:=$RAM}
|
||||
DFL_SWAP=${DFL_SWAP:=${RAM:=$DFL_RAM}}
|
||||
DFL_DRIVE=${DFL_DRIVE:=8}
|
||||
|
||||
WAN_IP=-
|
||||
@ -72,7 +72,7 @@ echo "# Setup: dnsmasq..."
|
||||
@ lxc-attach $ID rc-update add syncthing
|
||||
@ lxc-attach $ID rc-service syncthing start
|
||||
@ lxc-attach $ID -- sed \
|
||||
-e "'s/127\.0\.0\.1:8384/0.0.0.0:8384/g'" \
|
||||
-e 's/127\.0\.0\.1:8384/0.0.0.0:8384/g' \
|
||||
-i /var/lib/syncthing/.config/syncthing/config.xml
|
||||
|
||||
echo "# Post config..."
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user