Start services immediatelly
This commit is contained in:
parent
f089d42895
commit
354c3bcf3a
1 changed files with 4 additions and 0 deletions
4
setup.py
4
setup.py
|
|
@ -36,9 +36,13 @@ POSTINSTALL = """
|
|||
# Hope an OS uses systemd (not SysVinit or similar)
|
||||
sudo systemctl daemon-reload
|
||||
sudo systemctl enable cosmicpi-mqtt.service
|
||||
sudo systemctl start cosmicpi-mqtt.service
|
||||
sudo systemctl enable cosmicpi-dbcleaner.service
|
||||
sudo systemctl start cosmicpi-dbcleaner.service
|
||||
sudo systemctl enable cosmicpi-detector.service
|
||||
sudo systemctl start cosmicpi-detector.service
|
||||
sudo systemctl enable cosmicpi-ui.service
|
||||
sudo systemctl start cosmicpi-ui.service
|
||||
|
||||
echo "--- Finished setup! Rebooting now, when this is done your Cosmic Pi should start working ---"
|
||||
echo "--- To connect go to the IP address assigned by your network to the CosmicPi device, or ---"
|
||||
|
|
|
|||
Loading…
Reference in a new issue