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