forked from mattronix/escpos-go-labels
correct user group cwd binary for Pi system
This commit is contained in:
parent
d3489c1739
commit
47b29ffe1f
1 changed files with 6 additions and 6 deletions
|
@ -1,13 +1,13 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Label Maker API
|
Description=Label Maker API
|
||||||
ConditionPathExists=/home/mattronix/escpos-go-labels
|
ConditionPathExists=/home/pi/escpos-go-labels
|
||||||
After=network.target
|
After=network.target
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
User=mattronix
|
User=pi
|
||||||
Group=mattronix
|
Group=lp
|
||||||
WorkingDirectory=/home/mattronix/escpos-go-labels
|
WorkingDirectory=/home/pi/escpos-go-labels
|
||||||
ExecStart=/usr/bin/go run main.go
|
ExecStart=/usr/local/go/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