dgb-wallet/ops/digibyte.service
Digibyte.X d50286a9a5 DigiByte.X Wallet — recovery-first web wallet monorepo
Packages: core (BIP39/32/44/49/84/86 derivation, WIF), keystore (PBKDF2 +
AES-GCM), psbt, p2p (BIP157/158 SPV daemon, Dandelion++ broadcast with
relay-echo verification), blockbook, rpc, electrum, net, bns, web-ui
(React/Vite), mobile (Expo). ops/ holds the nginx vhost, systemd unit and
push.sh deploy script for digibyte.x/web.
2026-09-20 20:16:52 +02:00

34 lines
870 B
Desktop File

[Unit]
Description=DigiByte Core (pruned wallet backend)
Documentation=https://github.com/DigiByte-Core/digibyte
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
User=digibyte
Group=digibyte
ExecStart=/usr/local/bin/digibyted -conf=/etc/digibyte/digibyte.conf -datadir=/var/lib/digibyte
ExecStop=/usr/local/bin/digibyte-cli -conf=/etc/digibyte/digibyte.conf stop
Restart=on-failure
RestartSec=10
TimeoutStopSec=120
# --- Hardening ---
NoNewPrivileges=true
PrivateTmp=true
ProtectSystem=strict
ProtectHome=true
ReadWritePaths=/var/lib/digibyte /etc/digibyte
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectKernelLogs=true
ProtectControlGroups=true
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
LockPersonality=true
MemoryDenyWriteExecute=true
RestrictRealtime=true
RestrictSUIDSGID=true
[Install]
WantedBy=multi-user.target