forked from mattronix/escpos-go-labels
Compare commits
No commits in common. "main" and "main" have entirely different histories.
3 changed files with 6 additions and 13 deletions
5
go.mod
5
go.mod
|
@ -1,5 +0,0 @@
|
||||||
module escpos-go-labels
|
|
||||||
|
|
||||||
go 1.22.4
|
|
||||||
|
|
||||||
require github.com/kenshaw/escpos v0.0.0-20221114190919-df06b682a8fc // indirect
|
|
2
go.sum
2
go.sum
|
@ -1,2 +0,0 @@
|
||||||
github.com/kenshaw/escpos v0.0.0-20221114190919-df06b682a8fc h1:4JwmN2Scz1vR+hfSxkdy2IE/DzxX2Cftm2lhWHyN0k0=
|
|
||||||
github.com/kenshaw/escpos v0.0.0-20221114190919-df06b682a8fc/go.mod h1:M+GIBmg2MqaSWIJrXCZS+/wRFbr9fOguRz3SHn8DRPE=
|
|
|
@ -1,13 +1,13 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Label Maker API
|
Description=Label Maker API
|
||||||
ConditionPathExists=/home/pi/escpos-go-labels
|
ConditionPathExists=/home/mattronix/escpos-go-labels
|
||||||
After=network.target
|
After=network.target
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
User=pi
|
User=mattronix
|
||||||
Group=lp
|
Group=mattronix
|
||||||
WorkingDirectory=/home/pi/escpos-go-labels
|
WorkingDirectory=/home/mattronix/escpos-go-labels
|
||||||
ExecStart=/usr/local/go/bin/go run main.go
|
ExecStart=/usr/bin/go run main.go
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
RestartSec=10
|
RestartSec=10
|
||||||
StandardOutput=syslog
|
StandardOutput=syslog
|
||||||
|
|
Loading…
Reference in a new issue