blob: f5d2af957093a47adf3dd63bf6050af8e3038795 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
[Unit]
Description=Your Little Cargo Registry
After=network.target network-online.target nss-lookup.target
StartLimitIntervalSec=30s
StartLimitBurst=5
[Service]
Type=simple
ExecStart=/usr/bin/ktra -c /etc/ktra.toml
Restart=always
RestartSec=3s
Environment=RUST_LOG=info
User=ktra
Group=ktra
ReadOnlyPaths=/
ReadWritePaths=/var/lib/ktra/
[Install]
WantedBy=multi-user.target
|