You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
357 B
19 lines
357 B
6 years ago
|
[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
|