1
0
mirror of https://github.com/romanz/electrs.git synced 2024-11-19 09:54:09 +01:00
electrs/contrib/electrs.service
Roman Zeyde a90871a9fc Fixup --log-filters documentation and examples
Drop `-v` and `--verbose` mentions.
2021-11-12 19:59:11 +02:00

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