This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
howto:linux:install:gentoo [2012/08/11 23:59] danomac |
howto:linux:install:gentoo [2013/01/10 17:36] zip [Extract Serviio] |
||
---|---|---|---|
Line 55: | Line 55: | ||
</ | </ | ||
- | Now you can proceed to the [[syntax:Download Serviio|Download Serviio]] section. | + | Now you can proceed to the [[howto:linux: |
=== Sun JRE === | === Sun JRE === | ||
Line 118: | Line 118: | ||
</ | </ | ||
- | Now you can proceed to the [[syntax:Download Serviio|Download Serviio]] section. | + | Now you can proceed to the [[howto:linux: |
===== Download Serviio ===== | ===== Download Serviio ===== | ||
Line 129: | Line 129: | ||
< | < | ||
- | # tar zxf serviio-1.0.1-linux.tar.gz -C /opt | + | # tar zxf serviio-1.1-linux.tar.gz -C /opt |
- | # mv / | + | # mv / |
</ | </ | ||
Line 184: | Line 184: | ||
start() { | start() { | ||
- | ebegin " | + | |
- | start-stop-daemon --start --exec $SERVIIO_CMD --make-pidfile \ | + | start-stop-daemon --start --exec ${SERVIIO_CMD} --make-pidfile \ |
- | --user $SERVIIO_USER --background \ | + | --user ${SERVIIO_USER} --background \ |
- | --pidfile / | + | --pidfile / |
- | eend $? | + | eend $? |
} | } | ||
stop() { | stop() { | ||
- | | + | |
- | start-stop-daemon --stop | + | |
- | --user $SERVIIO_USER --pidfile / | + | |
- | eend $? | + | --user ${SERVIIO_USER} --pidfile / |
+ | eend $? | ||
} | } | ||
</ | </ | ||
Line 203: | Line 204: | ||
< | < | ||
# mv serviio_conf / | # mv serviio_conf / | ||
- | # mv serviio_init /etc/conf.d/ | + | # mv serviio_init /etc/init.d/ |
- | # chmod +x /etc/conf.d/serviio | + | # chmod +x /etc/init.d/serviio |
</ | </ | ||
+ | You can then start and stop Serviio with: | ||
+ | < | ||
+ | # / | ||
+ | * Starting Serviio Media Server ... [ ok ] | ||
+ | # / | ||
+ | * Stopping Serviio Media Server ... [ ok ] | ||
+ | </ | ||
+ | |||
+ | To get Serviio to start automatically on startup: | ||
+ | |||
+ | < | ||
+ | # rc-update add serviio default | ||
+ | </ | ||
~~NOTOC~~ | ~~NOTOC~~ |