added service scripts
This commit is contained in:
6
scripts/install_service.sh
Executable file
6
scripts/install_service.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
sudo cp lamatrix.service /lib/systemd/system
|
||||
sudo chmod 644 /lib/systemd/system/lamatrix.service
|
||||
chmod +x /home/pi/hello_world.py
|
||||
sudo systemctl daemon-reload
|
||||
sudo systemctl enable lamatrix.service
|
||||
sudo systemctl start lamatrix.service
|
||||
Reference in New Issue
Block a user