mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-23 23:20:33 +00:00
33 lines
714 B
Desktop File
33 lines
714 B
Desktop File
[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
|
|
StateDirectory=xrpld
|
|
StateDirectoryMode=0750
|
|
LogsDirectory=xrpld
|
|
LogsDirectoryMode=0750
|
|
LimitNOFILE=65536
|
|
SystemCallArchitectures=native
|
|
|
|
# Uncomment both lines to allow xrpld to bind to privileged ports (<1024)
|
|
#CapabilityBoundingSet=CAP_NET_BIND_SERVICE
|
|
#AmbientCapabilities=CAP_NET_BIND_SERVICE
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|