Skip to content

Commit

Permalink
Merge pull request #30 from dolevf/fix-ftp-startup
Browse files Browse the repository at this point in the history
workaround start-stop-daemon in background mode issue
  • Loading branch information
dolevf authored Jul 3, 2024
2 parents 3e4360d + 3d411ea commit 8b3bb24
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Test Lab
id: test
run: |
sudo make test
sleep 45 && sudo make test
working-directory: ./lab

- name: Slack Notification Success
Expand Down
9 changes: 4 additions & 5 deletions lab/machines/p-ftp-01/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,11 @@ RUN git init var/www/html/backup/acme-impact-alliance \
&& git add -A \
&& git commit -m 'commit code'


RUN mkdir -p /var/run/vsftpd/empty

# Entry
ENTRYPOINT service vsftpd restart \
&& \
service cron restart \
ENTRYPOINT service cron restart \
&& \
service apache2 restart \
&& \
tail -f /dev/null
vsftpd /etc/vsftpd.conf

0 comments on commit 8b3bb24

Please sign in to comment.