Skip to content
Snippets Groups Projects
Commit f3d40f70 authored by Bob Mottram's avatar Bob Mottram
Browse files

Peertube permissions

parent a5dd8695
No related branches found
No related tags found
No related merge requests found
......@@ -619,6 +619,10 @@ function upgrade_peertube {
chown -R peertube:peertube $PEERTUBE_DIR
if [ -d $PEERTUBE_DIR/.cache ]; then
chmod -R 700 $PEERTUBE_DIR/.cache
fi
peertube_database_extensions
if ! grep -q 'tmp: ' "${PEERTUBE_CONFIG_FILE}"; then
......@@ -647,9 +651,6 @@ function upgrade_peertube {
sed -i 's|enabled: true 82284| enabled: true|g' "${PEERTUBE_CONFIG_FILE}"
fi
contact_form:
contact_form.enabled
systemctl start peertube
set_completion_param "peertube version" "$PEERTUBE_VERSION"
......@@ -1276,6 +1277,10 @@ function install_peertube {
set_completion_param "peertube version" "$PEERTUBE_VERSION"
set_completion_param "peertube domain" "$PEERTUBE_DOMAIN_NAME"
if [ -d $PEERTUBE_DIR/.cache ]; then
chmod -R 700 $PEERTUBE_DIR/.cache
fi
APP_INSTALLED=1
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment