20 lines
439 B
Desktop File
20 lines
439 B
Desktop File
[Unit]
|
|
Description=COSMA log analyzer (MCAP -> NATS anomaly events)
|
|
After=network-online.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=cosma
|
|
Group=cosma
|
|
WorkingDirectory=/opt/cosma-log-analyzer
|
|
EnvironmentFile=/etc/cosma-log-analyzer.env
|
|
ExecStart=/opt/cosma-log-analyzer/.venv/bin/cosma-log-analyzer serve
|
|
Restart=on-failure
|
|
RestartSec=5
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|