summarylogtreecommitdiffstats
path: root/garage.service
blob: 45cac33ff4ef8bbe7471bb6d5a5b324663c9421b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[Unit]
Description=Daemon for garage
After=network-online.target
Wants=network-online.target

[Service]
User=garage
Group=garage
Environment='RUST_LOG=garage=info' 'RUST_BACKTRACE=1'
ExecStart=/usr/bin/garage -c /etc/garage.toml server
Restart=on-failure
RestartSec=20s
StartLimitInterval=30min
StartLimitBurst=30

[Install]
WantedBy=multi-user.target