You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
269 B
17 lines
269 B
8 years ago
|
#! /bin/sh
|
||
|
|
||
|
set -e
|
||
|
|
||
|
ln -sf /usr/share/subsonic/subsonic.sh /usr/bin/subsonic
|
||
|
|
||
|
chmod 750 /var/subsonic
|
||
|
|
||
|
# Clear jetty cache.
|
||
|
rm -rf /var/subsonic/jetty
|
||
|
|
||
|
# Configure Subsonic service.
|
||
|
update-rc.d subsonic defaults 99
|
||
|
|
||
|
# Start Subsonic service.
|
||
|
invoke-rc.d subsonic start
|