megacoffee.net Gentoo overlay - legacy mirror
We have moved to Git. This repository is only provided for compatibility with old installations. Learn how to migrate your installation here.
view media-tv/emby-server/files/initd_1 @ 231:e7c5198d2991
[sync] imported aa68919..e042371 from upstream
commit e042371101537d75d7751a7009624a34c11713e6
Author: Daniel Neugebauer <dneuge@energiequant.de>
Date: Mon Jun 1 14:20:28 2020 +0200
app-crypto/acmetool: added 0.2.1 (supports ACME v2)
commit a268a6c732e7ad6a5336d857c600da79559f0201
Author: Daniel Neugebauer <dneuge@energiequant.de>
Date: Mon Jun 1 13:10:03 2020 +0200
app-crypt/acmetool: unsymlinked 0.0.58
commit aae9c08eddcc5fe7e3a72722761cea40ed0bbe0c
Author: Daniel Neugebauer <dneuge@energiequant.de>
Date: Mon Jun 1 13:07:36 2020 +0200
app-crypt/acmetool: fixed 0.0.58 to work with EAPI 7 and renamed GitHub locations
commit 11b50f66971c911fc1f022ee56ca0b494e6ef0cf
Author: Daniel Neugebauer <dneuge@energiequant.de>
Date: Mon Jun 1 12:02:22 2020 +0200
app-crypt/acmetool: copy from https://github.com/jmesmon/overlay/ before it was removed on May 26, 2017
author | Migration Sync <gentoo-overlay@megacoffee.net> |
---|---|
date | Mon, 01 Jun 2020 12:30:01 +0000 |
parents | 17a5eaaa191c |
children |
line wrap: on
line source
#!/sbin/runscript PIDFILE="/tmp/emby-server.pid" PROGRAMDATA="/usr/lib/emby-server" #EXEC="mono-service2 -d /opt/emby-server/ -m emby-server -n emby-server /opt/emby-server/MediaBrowser.Server.Mono.exe -programdata ${PROGRAMDATA}" #EXEC="/opt/emby-server/start.sh" EXEC="./MediaBrowser.Server.Mono.exe -programdata ${PROGRAMDATA} -ffmpeg /usr/bin/ffmpeg -ffprobe /usr/bin/ffprobe" EXEC_DIR="/opt/emby-server/" EXEC_USER="emby" LOG_FILE="/var/log/emby-server_start.log" start() { ebegin "Starting Emby-Server" # we are starting the service (-x): # - in background with the given pid file (-m -p -b) # - as a specific user (-u) #start-stop-daemon -S -m -p $PIDFILE -b -u ${EXEC_USER} -d ${EXEC_DIR} -x ${EXEC} -1 ${LOG_FILE} -2 ${LOG_FILE} start-stop-daemon -S -m -p $PIDFILE -b -u ${EXEC_USER} -d ${EXEC_DIR} -1 ${LOG_FILE} -2 ${LOG_FILE} -x mono -- ${EXEC} eend $? } stop() { ebegin "Stopping Emby-Server" start-stop-daemon -K -p ${PIDFILE} eend $? } restart() { stop sleep 3 start }