diff options
author | Wirebrass <contact@wirebrass.fr> | 2019-08-13 09:22:54 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-08-13 09:22:54 +0200 |
commit | 67ac918df9ef89d65e43f1c4bd40f84417f0bd0c (patch) | |
tree | aa4179592e81c4b99a03998f4e43254bbc00a9f0 /support/init.d | |
parent | 07d02f6de885e3b9dafcab0080dca97d1c04e302 (diff) | |
download | PeerTube-67ac918df9ef89d65e43f1c4bd40f84417f0bd0c.tar.gz PeerTube-67ac918df9ef89d65e43f1c4bd40f84417f0bd0c.tar.zst PeerTube-67ac918df9ef89d65e43f1c4bd40f84417f0bd0c.zip |
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.
Diffstat (limited to 'support/init.d')
-rw-r--r-- | support/init.d/peertube | 4 |
1 files changed, 2 insertions, 2 deletions
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" | |||
4 | USER="peertube" | 4 | USER="peertube" |
5 | GROUP="peertube" | 5 | GROUP="peertube" |
6 | NODE_ENV="production" | 6 | NODE_ENV="production" |
7 | APP_DIR="/var/www/peertube" | 7 | APP_DIR="/var/www/peertube/peertube-latest" |
8 | NODE_APP="dist/server" | 8 | NODE_APP="dist/server" |
9 | KWARGS="" | 9 | KWARGS="" |
10 | CONFIG_DIR="/etc/peertube" | 10 | CONFIG_DIR="/var/www/peertube/config" |
11 | PID_DIR="$APP_DIR/pid" | 11 | PID_DIR="$APP_DIR/pid" |
12 | PID_FILE="$PID_DIR/$APP_NAME.pid" | 12 | PID_FILE="$PID_DIR/$APP_NAME.pid" |
13 | LOG_DIR="/var/log/peertube" | 13 | LOG_DIR="/var/log/peertube" |