diff options
Diffstat (limited to 'www-apps/invidious')
-rw-r--r-- | www-apps/invidious/files/invidious.initd | 6 | ||||
-rw-r--r-- | www-apps/invidious/invidious-2023.09.27-r1.ebuild (renamed from www-apps/invidious/invidious-2023.09.27.ebuild) | 0 |
2 files changed, 5 insertions, 1 deletions
diff --git a/www-apps/invidious/files/invidious.initd b/www-apps/invidious/files/invidious.initd index 11b7022e9..091a5c055 100644 --- a/www-apps/invidious/files/invidious.initd +++ b/www-apps/invidious/files/invidious.initd @@ -13,8 +13,12 @@ pidfile="/run/invidious.pid" output_log="/var/log/invidious.log" error_log="${output_log}" +# Invidious hard depends on PostgreSQL, and fails to start if PostgreSQL hasn't already started. +# So it will fail to start if started at boot (rc-update add invidious default). +# See: https://bugs.gentoo.org/916051 +# Using 'postgresql' as 'use' in the 'depend' function fixes this behaviour. depend() { - use logger net + use logger net postgresql } start_pre() { diff --git a/www-apps/invidious/invidious-2023.09.27.ebuild b/www-apps/invidious/invidious-2023.09.27-r1.ebuild index 6e7194b15..6e7194b15 100644 --- a/www-apps/invidious/invidious-2023.09.27.ebuild +++ b/www-apps/invidious/invidious-2023.09.27-r1.ebuild |