Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: fix dashboard service type #17

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions playbooks/network.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
shell:
sudo nmcli con add type wifi ifname wlan0 con-name SensorHub autoconnect yes ssid sensor_hub &&
sudo nmcli con modify SensorHub 802-11-wireless.mode ap 802-11-wireless.band bg ipv4.method shared &&
sudo nmcli con modify SensorHub connection.autoconnect true &&
sudo nmcli con modify SensorHub wifi-sec.key-mgmt wpa-psk &&
sudo nmcli con modify SensorHub wifi-sec.psk FourCorners &&
sudo nmcli con modify SensorHub ipv4.addresses 10.42.0.1/24 &&
Expand Down
2 changes: 1 addition & 1 deletion setup_files/viz_dashboard.service
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Description=Runs a visualization dashboard for the collected sensor data.
After=multi-user.target mqtt.service

[Service]
Type=forking
Type=simple
Restart=always
ExecStart=/home/beta/sensor-hub/bin/run_sensor_dashboard

Expand Down