From 65c5e6a50bde9354567f2552dedb71cce921c791 Mon Sep 17 00:00:00 2001 From: Jakub Kadlcik Date: Wed, 6 Nov 2024 14:46:52 +0100 Subject: [PATCH] If PostgreSQL is available, make sure it is running Fix #162 --- rpm/resalloc.service | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rpm/resalloc.service b/rpm/resalloc.service index e29ae38..c1cd268 100644 --- a/rpm/resalloc.service +++ b/rpm/resalloc.service @@ -1,6 +1,8 @@ [Unit] Description=Resource allocator server After=network.target +After=postgresql.service +Wants=postgresql.service [Service] Type=simple