[Unit]
Description=GarageHQ WebUI
Wants=basic.target
After=basic.target network.target

[Service]
WorkingDirectory=/opt/garage-webui
Environment="CONFIG_PATH=/opt/garage/garage.toml"
ExecStart=/opt/garage-webui/webui
KillMode=process
Restart=on-failure
RestartSec=30s

[Install]
WantedBy=multi-user.target