[Unit]
Description=Rust cache server (Redis-like)
After=network.target
[Service]
Type=simple
# Use the binary from ~/.local/bin (default install location)
# Or change to /usr/local/bin/rust-cache if installed system-wide
ExecStart=%h/.local/bin/rust-cache
# Config will be read from /etc/rust-cache/rust-cache.conf automatically
Restart=on-failure
RestartSec=3
[Install]
WantedBy=multi-user.target