Skip to content

Commit

Permalink
Create start.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
devilAPI authored Dec 27, 2024
1 parent 22cfe13 commit 69689c7
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions start.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash

echo "Starting Navidrome setup..."

# Create necessary directories if they don't exist
mkdir -p /home/container/data /home/container/cache /home/container/music

# Ensure permissions are correct
chown -R root:root /home/container
chmod -R 755 /home/container

# Start Navidrome
echo "Starting Navidrome..."
exec /navidrome --data /home/container/data --cache /home/container/cache --music /home/container/music

0 comments on commit 69689c7

Please sign in to comment.