Skip to content

Commit 7e8fcfc

Browse files
committed
address feedback
1 parent 7b14cbb commit 7e8fcfc

3 files changed

Lines changed: 3 additions & 10 deletions

File tree

src/cloud-init.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
#cloud-config
22

33
write_files:
4-
- path: /etc/sysctl.d/99-unprivileged-ports.conf
5-
permissions: 0644
6-
owner: root
7-
content: |
8-
net.ipv4.ip_unprivileged_port_start=80
94
- path: /etc/systemd/system/wpt-server.service
105
permissions: 0644
116
owner: root

src/fetch-certs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def main(bucket_name, outdir, period):
7777
'{}/privkey.pem'.format(outdir)
7878
)
7979
os.chmod('{}/fullchain.pem'.format(outdir), 0o644)
80-
os.chmod('{}/privkey.pem'.format(outdir), 0o644)
80+
os.chmod('{}/privkey.pem'.format(outdir), 0o640)
8181

8282
break
8383

wpt-server-tot.Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,8 @@ RUN \
2020
python3.10-venv \
2121
python3-pip \
2222
supervisor \
23-
tzdata \
24-
libcap2-bin && \
25-
sed -i 's/chmod=0700/chmod=0770\nchown=root:wpt-sync/' /etc/supervisor/supervisord.conf && \
26-
setcap 'cap_net_bind_service=+ep' /usr/bin/python3.10
23+
tzdata && \
24+
sed -i 's/chmod=0700/chmod=0770\nchown=root:wpt-sync/' /etc/supervisor/supervisord.conf
2725

2826
RUN useradd -ms /bin/bash -u 1000 wpt-server && \
2927
useradd -ms /bin/bash -u 1001 wpt-sync && \

0 commit comments

Comments
 (0)