Hyunsun Moon | 53097ea | 2020-09-04 17:20:29 -0700 | [diff] [blame^] | 1 | [Unit] |
2 | Description=Aether Edge Monitoring Agent | ||||
3 | After=multi-user.target | ||||
4 | |||||
5 | [Service] | ||||
6 | Environment=CONFIG_FILE=/home/pi/aether-monitoring/edge-monitoring/agent_modem/config.json | ||||
7 | Type=simple | ||||
8 | ExecStartPre=/bin/sleep 30 | ||||
9 | ExecStart=/usr/bin/python3 /home/pi/aether-monitoring/edge-monitoring/agent_modem/edge_monitoring_agent_modem.py | ||||
10 | Restart=on-failure | ||||
11 | |||||
12 | [Install] | ||||
13 | WantedBy=multi-user.target |