File size: 426 Bytes
74456ba
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[Unit]
Description=Oracle7 infrastructure agent (read-only sensors, time store, self-scored forecasts; recommend-only)
After=network.target

[Service]
Type=simple
ExecStart=/usr/bin/python3 /opt/o7infra/o7infra_agent.py run
Environment=O7INFRA_HOME=/var/lib/o7infra
EnvironmentFile=-/etc/o7infra.env
Nice=15
IOSchedulingClass=idle
CPUQuota=10%
MemoryMax=150M
Restart=always
RestartSec=30

[Install]
WantedBy=multi-user.target