blob: 6213470f6ff2fa6d4caf4970595eae7a6453fc51 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
[Unit]
Description=Prometheus Transceiver exporter
After=network.target network-online.target basic.target
Wants=network-online.target
StartLimitIntervalSec=30
StartLimitBurst=3
[Service]
EnvironmentFile=-/etc/conf.d/prometheus-transceiver-exporter
ExecStart=/usr/bin/prometheus-transceiver-exporter $OPTIONS
Type=simple
Restart=on-failure
RestartSec=30
User=prometheus-transceiver-exporter
Group=prometheus-transceiver-exporter
[Install]
WantedBy=multi-user.target
|