[Unit] Description=DATUM Gateway Documentation=man:datum_gateway After=network-online.target remote-fs.target nss-lookup.target Wants=network-online.target [Service] User=bitcoin ExecStart=/usr/bin/datum_gateway -c /etc/datum-gateway/datum_gateway_config.json Restart=on-failure TimeoutSec=600 RestartSec=30 LimitNOFILE=65535 CapabilityBoundingSet=CAP_NET_BIND_SERVICE CAP_NET_BROADCAST CAP_NET_RAW NoNewPrivileges=yes RemoveIPC=yes PrivateDevices=yes ProtectClock=yes ProtectKernelLogs=yes ProtectControlGroups=yes ProtectKernelModules=yes PrivateMounts=yes SystemCallArchitectures=native MemoryDenyWriteExecute=yes RestrictNamespaces=net pid ProtectHostname=yes LockPersonality=yes ProtectKernelTunables=yes RestrictRealtime=yes ProtectSystem=full ProtectProc=invisible ProcSubset=pid ProtectHome=tmpfs PrivateTmp=yes PrivateUsers=yes SystemCallFilter=~@clock @cpu-emulation @debug @module @mount @obsolete @privileged @raw-io @reboot @swap [Install] WantedBy=multi-user.target