update setup.py
This commit is contained in:
7
inst_scripts/create_service.sh
Executable file
7
inst_scripts/create_service.sh
Executable 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
|
||||
12
inst_scripts/piplotter.service
Normal file
12
inst_scripts/piplotter.service
Normal 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
|
||||
Reference in New Issue
Block a user