modbuslog.service 195 B

12345678910111213
  1. [Unit]
  2. Description=ModbusLogger
  3. StartLimitInterval=0
  4. [Service]
  5. Type=simple
  6. Restart=always
  7. RestartSec=1
  8. ExecStart=/home/pi/modbuslogger/modbuslog.py
  9. User=pi
  10. [Install]
  11. WantedBy=multi-user.target