- [Unit]
- Description=devterm printer main process
- After=devterm-socat
- [Service]
- Type=simple
- EnvironmentFile=/usr/local/etc/devterm-printer
- StandardOutput=file:/tmp/devterm_printer.log
- StandardError=file:/tmp/devterm_printer.err.log
- ExecStart=/usr/local/bin/devterm_thermal_printer.elf
- Restart=on-failure
- RestartSec=2
- [Install]
- WantedBy=multi-user.target
|