Skip to content

Commit

Permalink
Change chmod in pfperl-api container
Browse files Browse the repository at this point in the history
  • Loading branch information
JeGoi committed Dec 20, 2024
1 parent fb51955 commit 06ba4b3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions containers/pfperl-api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ COPY ./addons/ntlm-auth-api/openssl.cnf /etc/ssl/openssl.cnf

RUN ln -s /usr/local/pf/bin/pfcmd.pl /usr/local/pf/bin/pfcmd && \
ln -s /usr/local/pf/bin/impacket/impacket-addcomputer.py /usr/local/pf/bin/impacket-addcomputer && \
chmod +x /usr/local/pf/bin/impacket-addcomputer && \
mkdir -p /usr/local/pf/var/run/ && \
chmod 0744 /usr/local/pf/var/run/ && \
mkdir -p /usr/local/pf/var/control && \
chmod +x ./bin/impacket/impacket-addcomputer.py && \
mkdir -p ./var/run/ && \
chmod 0744 ./var/run/ && \
mkdir -p ./var/control && \
bash -c 'cd /usr/local/pf/db && export VERSIONSQL=$(ls pf-schema-* |sort --version-sort -r | head -1) && ln -f -s $VERSIONSQL ./pf-schema.sql'

ENTRYPOINT /usr/local/pf/sbin/pfperl-api prefork -m production -l http://127.0.0.1:22224 -l http://100.64.0.1:22224 --pid-file /usr/local/pf/var/run/pfperl-api.pid

0 comments on commit 06ba4b3

Please sign in to comment.