update setup.py
This commit is contained in:
Executable
+7
@@ -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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user