mirror of
https://github.com/clockworkpi/DevTerm.git
synced 2025-12-12 18:28:50 +01:00
devterm-printer.service add Restart=on-failure
This commit is contained in:
parent
9d324569c2
commit
182dedb675
@ -8,7 +8,8 @@ EnvironmentFile=/usr/local/etc/devterm-printer
|
|||||||
StandardOutput=file:/tmp/devterm_printer.log
|
StandardOutput=file:/tmp/devterm_printer.log
|
||||||
StandardError=file:/tmp/devterm_printer.err.log
|
StandardError=file:/tmp/devterm_printer.err.log
|
||||||
ExecStart=/usr/local/bin/devterm_thermal_printer.elf
|
ExecStart=/usr/local/bin/devterm_thermal_printer.elf
|
||||||
|
Restart=on-failure
|
||||||
|
RestartSec=2
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user