Compare commits

...

3 Commits

Author SHA1 Message Date
pgrondek
33759d96f4 Update octoprint service 2020-08-09 16:05:20 +02:00
pgrondek
0592034d1e Update octoprint script 2020-08-09 14:58:47 +02:00
pgrondek
0df5ccd0f0 Add Octoprint influxdb plugin 2020-07-25 11:04:15 +02:00
2 changed files with 22 additions and 3 deletions

View File

@ -6,7 +6,7 @@ After=network.target
User=octoprint
Group=octoprint
Restart=always
ExecStart=/home/octoprint/bin/octoprint serve
ExecStart=/home/octoprint/.local/bin/octoprint
Type=simple
[Install]

View File

@ -19,13 +19,30 @@
shell:
chdir: /home/octoprint
cmd: |
virtualenv system-site-packages .
virtualenv --system-site-packages .
source bin/activate
pip install pip --upgrade
pip install octoprint
args:
executable: /bin/bash
- name: enable system wide packages
file:
path: /home/octoprint/lib/python2.7/no-global-site-packages.txt
state: absent
- name: Create symbolic link for PIL package
file:
src: /usr/lib/python2.7/dist-packages/PIL
dest: /home/octoprint/lib/python2.7/site-packages/PIL
state: link
- name: Create symbolic link for pillow package
file:
src: /usr/lib/python2.7/dist-packages/Pillow-5.1.0.egg-info
dest: /home/octoprint/lib/python2.7/site-packages/Pillow-5.1.0.egg-info
state: link
- name: install plugins
become_user: octoprint
pip:
@ -37,6 +54,8 @@
- https://github.com/kanocz/octopi_eta_override/archive/master.zip
- https://github.com/malnvenshorn/OctoPrint-FilamentManager/archive/master.zip
- https://github.com/OllisGit/OctoPrint-DeleteAfterPrint/releases/latest/download/master.zip
- https://github.com/OllisGit/OctoPrint-PrintJobHistory/releases/latest/download/master.zip
# - https://github.com/OllisGit/OctoPrint-PrintJobHistory/releases/latest/download/master.zip
- https://github.com/paukstelis/OctoPrint-Cancelobject/archive/master.zip
- https://github.com/Renaud11232/OctoPrint-Resource-Monitor/archive/master.zip
- https://github.com/agrif/OctoPrint-InfluxDB/archive/master.zip