From d58176025f96a5f2bf61afcbc5a37e0feab378c6 Mon Sep 17 00:00:00 2001 From: Florent Date: Fri, 3 Feb 2023 21:01:55 +0100 Subject: [PATCH] Another attempt to fix (multi-install and other stuffs) --- conf/production.yaml | 5 +++-- conf/systemd.service | 2 ++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/conf/production.yaml b/conf/production.yaml index 74001f6..75f1cfd 100644 --- a/conf/production.yaml +++ b/conf/production.yaml @@ -11,5 +11,6 @@ elastic-search: hostname: 'localhost' port: __ES_PORT__ indexes: - videos: 'peertube-index-videos' - channels: 'peertube-index-channels' + videos: '__APP__-videos' + channels: '__APP__-channels' + playlists: '__APP__-playlists' diff --git a/conf/systemd.service b/conf/systemd.service index 1b128a9..3f34b6f 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -1,6 +1,8 @@ [Unit] Description=__APP__ search index daemon After=network.target +After=elasticsearch8.service +Requires=elasticsearch8.service [Service] Type=simple