1 ### This file is managed by Ansible
2 # Copyright (C) The Arvados Authors. All rights reserved.
4 # SPDX-License-Identifier: Apache-2.0
7 Description=Wait for outbound network connections to succeed
8 Before=ssh.service sshd.service
11 WantedBy=ssh.service sshd.service
16 ExecStart=/bin/sh -c 'while ! nc -w1 -z git.arvados.org 443; do sleep 1s; done;:'
18 ### Everything below this line is security boilerplate
20 CapabilityBoundingSet=
23 MemoryDenyWriteExecute=on
27 ProtectControlGroups=on
29 ProtectKernelModules=on
30 ProtectKernelTunables=on
31 RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 AF_NETLINK
34 SystemCallErrorNumber=EPERM
35 SystemCallFilter=@system-service