mirror of
https://github.com/Evidlo/remarkable_printer.git
synced 2024-10-20 03:27:37 -04:00
update service instead of install.sh
This commit is contained in:
parent
7ea30a5f82
commit
df870008fe
|
@ -1,5 +1,5 @@
|
||||||
mkdir -p /home/root
|
mkdir -p /home/root/bin
|
||||||
cd /home/root
|
cd /home/root/bin
|
||||||
wget -O release.zip http://github.com/evidlo/remarkable_printer/releases/latest/download/release.zip
|
wget -O release.zip http://github.com/evidlo/remarkable_printer/releases/latest/download/release.zip
|
||||||
unzip -o release.zip
|
unzip -o release.zip
|
||||||
mv printer.service /etc/systemd/system
|
mv printer.service /etc/systemd/system
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
Description=Native printing to reMarkable
|
Description=Native printing to reMarkable
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/home/root/printer.arm -restart -debug
|
ExecStart=/home/root/bin/printer.arm -restart -debug
|
||||||
Restart=always
|
Restart=always
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
Loading…
Reference in a new issue