1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-15 04:32:11 +00:00

internetarchive - create directory; fix typo in iiab-gen-iptables

This commit is contained in:
Mitra Ardron 2019-04-23 16:45:37 +10:00
parent c1c8b40b12
commit 1a34c04faf
2 changed files with 7 additions and 1 deletions

View file

@ -12,6 +12,12 @@
- cmake
state: present
- name: Create top level {{ internetarchive_dir }} if reqd
command: mkdir -p {{ internetarchive_dir }}
args:
chdir: "{{ iiab_base }}"
when: internet_available
- name: Run 'sudo npm install dweb-archive dweb-mirror --allow-root --unsafe-perm=true' to create /opt/iiab/internetarchive/node_modules (CAN TAKE ~5 MINUTES)
command: sudo npm install dweb-archive dweb-mirror --allow-root --unsafe-perm=true
args:

View file

@ -106,7 +106,7 @@ if [ "$services_externally_visible" == "True" ]; then
$IPTABLES -A INPUT -p tcp --dport $calibreweb_port -m state --state NEW -i $wan -j ACCEPT
$IPTABLES -A INPUT -p tcp --dport $cups_port -m state --state NEW -i $wan -j ACCEPT
$IPTABLES -A INPUT -p tcp --dport $sugarizer_port -m state --state NEW -i $wan -j ACCEPT
$IPTABLES -A INPUT -p tcp --dport internetarchive_port -m state --state NEW -i $wan -j ACCEPT
$IPTABLES -A INPUT -p tcp --dport $internetarchive_port -m state --state NEW -i $wan -j ACCEPT
$IPTABLES -A INPUT -p tcp --dport $nodered_port -m state --state NEW -i $wan -j ACCEPT
$IPTABLES -A INPUT -p tcp --dport $mosquitto_port -m state --state NEW -i $wan -j ACCEPT
$IPTABLES -A INPUT -p tcp --dport $transmission_http_port -m state --state NEW -i $wan -j ACCEPT