From 67ac918df9ef89d65e43f1c4bd40f84417f0bd0c Mon Sep 17 00:00:00 2001 From: Wirebrass Date: Tue, 13 Aug 2019 09:22:54 +0200 Subject: 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. --- support/init.d/peertube | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'support/init.d') diff --git a/support/init.d/peertube b/support/init.d/peertube index 4473fc0ea..bb51b2e99 100644 --- a/support/init.d/peertube +++ b/support/init.d/peertube @@ -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" -- cgit v1.2.3