File tempo@.service of Package tempo

# keep in sync with tempo/tools/packaging/tempo.service
[Unit]
Description=Tempo service
After=network.target

[Service]
Type=simple
User=tempo
ExecStart=/usr/bin/tempo -config.file /etc/tempo/%i.yml
# Give a reasonable amount of time for the server to start up/shut down
TimeoutSec = 120
Restart = on-failure
RestartSec = 2

[Install]
WantedBy=tempo.target
openSUSE Build Service is sponsored by