blockstream-electrs/contrib/electrs.service
2018-10-01 21:13:07 +03:00

19 lines
357 B
Desktop File

[Unit]
Description=Electrum Rust Server
[Service]
Type=simple
ExecStart=/path/to/electrs/target/release/electrs -vvvv --db-dir /path/to/electrs/db/
Restart=on-failure
RestartSec=60
Environment="RUST_BACKTRACE=1"
# Hardening measures
PrivateTmp=true
ProtectSystem=full
NoNewPrivileges=true
MemoryDenyWriteExecute=true
[Install]
WantedBy=multi-user.target