added makefile command to install on steamos
parent
d25d6d1f78
commit
6f2a9ccf06
6
Makefile
6
Makefile
|
@ -17,3 +17,9 @@ run:
|
|||
|
||||
install:
|
||||
GOBIN=~/.local/bin/ go install banana.go
|
||||
|
||||
install-steamos: banana.elf
|
||||
cp banana.elf /usr/bin/banana
|
||||
cp banana.timer banana.service /etc/systemd/system/
|
||||
systemctl enable banana.timer
|
||||
systemctl enable banana.service
|
||||
|
|
|
@ -4,7 +4,7 @@ Wants=banana.timer
|
|||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/home/deck/.local/bin/banana.elf
|
||||
ExecStart=/usr/bin/banana
|
||||
User=deck
|
||||
|
||||
[Install]
|
||||
|
|
Loading…
Reference in New Issue