Skip to content

Commit

Permalink
Comment-out debug ls calls
Browse files Browse the repository at this point in the history
  • Loading branch information
jzombie committed Aug 1, 2024
1 parent 40e8dc2 commit ac8cfb8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions mosquitto/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ chown mosquitto:mosquitto /encrypted /var/lib/mosquitto
chmod 700 /encrypted /var/lib/mosquitto

# Debug: Check ownership and permissions before mounting
echo "Ownership and permissions before mounting:"
ls -ld /encrypted
ls -ld /var/lib/mosquitto
# echo "Ownership and permissions before mounting:"
# ls -ld /encrypted
# ls -ld /var/lib/mosquitto

# Initialize the encrypted filesystem if it hasn't been initialized
if [ ! -f /encrypted/gocryptfs.conf ]; then
Expand All @@ -44,9 +44,9 @@ chown -R mosquitto:mosquitto /var/lib/mosquitto
chmod -R 700 /var/lib/mosquitto

# Debug: Check ownership and permissions after mounting
echo "Ownership and permissions after mounting:"
ls -ld /var/lib/mosquitto
ls -ld /encrypted
# echo "Ownership and permissions after mounting:"
# ls -ld /var/lib/mosquitto
# ls -ld /encrypted

# Debug: List contents of /var/lib/mosquitto to check if persistence file is present
echo "Contents of /var/lib/mosquitto:"
Expand Down

0 comments on commit ac8cfb8

Please sign in to comment.