From 630803246cec7e885b0f32e992f3ddadc41fcbfd41b7da636d41105c6ff27349 Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Wed, 11 Sep 2024 16:32:26 +0200 Subject: [PATCH] move After= to correct section --- systemd/gitea-events-rabbitmq-publisher.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systemd/gitea-events-rabbitmq-publisher.service b/systemd/gitea-events-rabbitmq-publisher.service index efd53ec..001a1ac 100644 --- a/systemd/gitea-events-rabbitmq-publisher.service +++ b/systemd/gitea-events-rabbitmq-publisher.service @@ -1,5 +1,6 @@ [Unit] Description=Gitea webhook to RabbitMQ message publisher +After=network-online.target [Service] Type=exec @@ -10,6 +11,5 @@ NoNewPrivileges=yes ProtectSystem=strict [Install] -After=network-online.target WantedBy=multi-user.target