Guest User

Untitled

a guest
Sep 20th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. #!/bin/sh
  2. set -e
  3.  
  4. chown mosquitto:mosquitto -R /mosquitto/data
  5.  
  6. if [ "$1" = 'mosquitto' ]; then
  7. #if [ -z "$(ls -A "$PGDATA")" ]; then
  8. #fi
  9.  
  10. exec /usr/local/sbin/mosquitto -c /mosquitto/config/mosquitto.conf
  11. fi
  12.  
  13. exec "$@"
Add Comment
Please, Sign In to add comment