Skip to content

Commit

Permalink
Update entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
SiwatS authored Mar 31, 2022
1 parent 025a390 commit 8b49fc3
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ curl -X PUT --data-binary @fullcert.pem --unix-socket /var/run/control-unit.sock
#Apply SSL Partial Configuration
curl -X PUT --data-binary @/software/ssl-listener.json --unix-socket /var/run/control-unit.sock 'http://localhost/config/listener/%2A%3A443' &&

#Idle Forever
mknod -m 0666 /dev/null c 1 3
tail -f '/dev/null'
#Idle Forever (IDK why tail -f /dev/null doesn't work so using infinite loop instead.)
while true
do
sleep 1
done

0 comments on commit 8b49fc3

Please sign in to comment.