add post-install script to launch piplotter as systemd service

This commit is contained in:
sinseman44 committed 2020-11-15 08:52:46 +00:00
1 parent b8b1d033af
commit 537827bf37
3 files changed
+32 -1

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
cp -a "install_scripts/piplotter.service" /etc/systemd/system
chown root:root /etc/systemd/system/piplotter.service
systemctl daemon-reload
systemctl enable piplotter.service
+12
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