DevTerm/Code/thermal_printer/etc/systemd/system/devterm-printer.service

15 lines
323 B
Desktop File

[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
[Install]
WantedBy=multi-user.target