summarylogtreecommitdiffstats
path: root/jakpod.sh
blob: 7015877cdc4efd6eee1e4246e572807ed0b3aa22 (plain)
1
2
3
4
5
6
7
#!/bin/bash
set -e

[ -d ~/.jakpod/config ] || mkdir -p ~/.jakpod/config
[ -f ~/.jakpod/config/jakpod.properties ] || sed "s#!USER_MOUNT!#/run/media/$USER#" /opt/jakpod/jakpod.properties > ~/.jakpod/config/jakpod.properties

java -Xmx512M -cp . -jar /opt/jakpod/jakpod.jar