devterm-printer.service 354 B

123456789101112131415
  1. [Unit]
  2. Description=devterm printer main process
  3. After=devterm-socat
  4. [Service]
  5. Type=simple
  6. EnvironmentFile=/usr/local/etc/devterm-printer
  7. StandardOutput=file:/tmp/devterm_printer.log
  8. StandardError=file:/tmp/devterm_printer.err.log
  9. ExecStart=/usr/local/bin/devterm_thermal_printer.elf
  10. Restart=on-failure
  11. RestartSec=2
  12. [Install]
  13. WantedBy=multi-user.target