[Unit] Description=XRP Ledger Daemon After=network-online.target Wants=network-online.target StartLimitIntervalSec=5min StartLimitBurst=5 [Service] Type=simple ExecStart=/usr/bin/xrpld --net --silent --conf /etc/xrpld/xrpld.cfg Restart=on-failure RestartSec=5s TimeoutStopSec=5min NoNewPrivileges=true ProtectSystem=full ProtectHome=true PrivateTmp=true User=xrpld Group=xrpld # xrpld.tmpfiles creates these at install and boot; these recreate them on # every start, so a removed directory does not stop the service. StateDirectory=xrpld StateDirectoryMode=0750 LogsDirectory=xrpld LogsDirectoryMode=0750 LimitNOFILE=65536 SystemCallArchitectures=native [Install] WantedBy=multi-user.target