Files
lamatrix/scripts/install_service.sh
2021-01-07 14:56:22 +01:00

7 lines
237 B
Bash
Executable File

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