update setup.py

This commit is contained in:
sinseman44
2020-11-15 11:02:13 +00:00
parent eb920e789b
commit 1aea68a2a7
3 changed files with 19 additions and 6 deletions

7
inst_scripts/create_service.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
cp -a "inst_scripts/piplotter.service" /etc/systemd/system
chown root:root /etc/systemd/system/piplotter.service
systemctl daemon-reload
systemctl enable piplotter.service

View File

@@ -0,0 +1,12 @@
[Unit]
Description=piplot2D Display Menu and Control
[Service]
Type=simple
User=root
Group=root
ExecStart=/usr/local/bin/piplotter
Restart=always
[Install]
WantedBy=multi-user.target