Subsonic-->Libresonic regex
This commit is contained in:
@@ -0,0 +1 @@
|
||||
/etc/default/libresonic
|
||||
@@ -0,0 +1,18 @@
|
||||
Package: libresonic
|
||||
Version: @VERSION@
|
||||
Section: Multimedia
|
||||
Priority: optional
|
||||
Recommends: ffmpeg
|
||||
Architecture: all
|
||||
Maintainer: Sindre Mehus <sindre@activeobjects.no>
|
||||
Description: A web-based music streamer, jukebox and Podcast receiver
|
||||
Libresonic is a web-based music streamer, jukebox and Podcast receiver,
|
||||
providing access to your music collection wherever you are. Use it
|
||||
to share your music with friends, or to listen to your music while away
|
||||
from home.
|
||||
.
|
||||
Apps for Android, iPhone and Windows Phone are also available.
|
||||
.
|
||||
Java 1.6 or higher is required to run Libresonic.
|
||||
.
|
||||
Libresonic can be found at http://libresonic.org
|
||||
@@ -0,0 +1,16 @@
|
||||
#! /bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
ln -sf /usr/share/libresonic/libresonic.sh /usr/bin/libresonic
|
||||
|
||||
chmod 750 /var/libresonic
|
||||
|
||||
# Clear jetty cache.
|
||||
rm -rf /var/libresonic/jetty
|
||||
|
||||
# Configure Libresonic service.
|
||||
update-rc.d libresonic defaults 99
|
||||
|
||||
# Start Libresonic service.
|
||||
invoke-rc.d libresonic start
|
||||
@@ -0,0 +1,9 @@
|
||||
#! /bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
# Remove symlink.
|
||||
rm -f /usr/bin/libresonic
|
||||
|
||||
# Remove startup scripts.
|
||||
update-rc.d -f libresonic remove
|
||||
@@ -0,0 +1,15 @@
|
||||
#! /bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
# Stop Libresonic service.
|
||||
if [ -e /etc/init.d/libresonic ]; then
|
||||
invoke-rc.d libresonic stop
|
||||
fi
|
||||
|
||||
# Backup database.
|
||||
if [ -e /var/libresonic/db ]; then
|
||||
rm -rf /var/libresonic/db.backup
|
||||
cp -R /var/libresonic/db /var/libresonic/db.backup
|
||||
fi
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
#! /bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
# Stop Libresonic service.
|
||||
if [ -e /etc/init.d/libresonic ]; then
|
||||
invoke-rc.d libresonic stop
|
||||
fi
|
||||
Reference in New Issue
Block a user