Roman Zeyde
6 years ago
1 changed files with 18 additions and 0 deletions
@ -0,0 +1,18 @@ |
|||
[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 |
Loading…
Reference in new issue