1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-03 01:39:37 +02:00

Add/update OpenRC service script (#2012)

* Update APP_DIR and CONFIG_DIR

APP_DIR is now in /var/www/peertube/peertube-latest (symbolic link).
CONFIG_DIR is now in /var/www/peertube/config

* Add OpenRC service script

Tested on Gentoo Linux.
This commit is contained in:
Wirebrass 2019-08-13 09:22:54 +02:00 committed by Chocobozzz
parent 07d02f6de8
commit 67ac918df9
2 changed files with 23 additions and 2 deletions

View file

@ -4,10 +4,10 @@ APP_NAME="peertube"
USER="peertube"
GROUP="peertube"
NODE_ENV="production"
APP_DIR="/var/www/peertube"
APP_DIR="/var/www/peertube/peertube-latest"
NODE_APP="dist/server"
KWARGS=""
CONFIG_DIR="/etc/peertube"
CONFIG_DIR="/var/www/peertube/config"
PID_DIR="$APP_DIR/pid"
PID_FILE="$PID_DIR/$APP_NAME.pid"
LOG_DIR="/var/log/peertube"