mirror of
https://github.com/romanz/electrs.git
synced 2024-11-19 09:54:09 +01:00
a90871a9fc
Drop `-v` and `--verbose` mentions.
19 lines
370 B
Desktop File
19 lines
370 B
Desktop File
[Unit]
|
|
Description=Electrum Rust Server
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStart=/path/to/electrs/target/release/electrs --log-filters INFO --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
|