update service instead of install.sh

This commit is contained in:
evan 2020-12-27 21:44:28 -06:00
parent 7ea30a5f82
commit df870008fe
2 changed files with 3 additions and 3 deletions

View file

@ -1,5 +1,5 @@
mkdir -p /home/root
cd /home/root
mkdir -p /home/root/bin
cd /home/root/bin
wget -O release.zip http://github.com/evidlo/remarkable_printer/releases/latest/download/release.zip
unzip -o release.zip
mv printer.service /etc/systemd/system

View file

@ -2,7 +2,7 @@
Description=Native printing to reMarkable
[Service]
ExecStart=/home/root/printer.arm -restart -debug
ExecStart=/home/root/bin/printer.arm -restart -debug
Restart=always
[Install]