2023-06-12 14:04:24 +00:00
|
|
|
[Unit]
|
2023-06-13 08:52:49 +00:00
|
|
|
Description=Run probes service
|
2023-06-12 14:04:24 +00:00
|
|
|
After=network.target
|
|
|
|
StartLimitIntervalSec=300
|
|
|
|
StartLimitBurst=3
|
|
|
|
|
|
|
|
[Service]
|
2023-06-13 08:02:48 +00:00
|
|
|
WorkingDirectory=/home/ubuntu/api/probes
|
2023-07-05 12:01:01 +00:00
|
|
|
EnvironmentFile=/home/ubuntu/probes-secrets/app.env
|
|
|
|
ExecStart=/home/ubuntu/api/probes/probes service --config /home/ubuntu/.probes/engine-clean-call-requests.json
|
2023-06-12 14:04:24 +00:00
|
|
|
Restart=on-failure
|
|
|
|
RestartSec=15s
|
2023-06-13 08:02:48 +00:00
|
|
|
SyslogIdentifier=probes
|
2023-06-12 14:04:24 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|