File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change
1
+ [Unit]
2
+ Description =Start BlueOS on boot
3
+
4
+ [Service]
5
+ Type =oneshot
6
+ ExecStart =/usr/bin/docker start blueos-bootstrap
7
+
8
+ [Install]
9
+ WantedBy =multi-user.target
Original file line number Diff line number Diff line change @@ -231,16 +231,7 @@ groupadd docker
231
231
usermod -aG docker pi
232
232
233
233
# Create service to start blueos-bootstrap container on boot
234
- echo " [Unit]
235
- Description=Start BlueOS on boot
236
-
237
- [Service]
238
- Type=oneshot
239
- ExecStart=/usr/bin/docker start blueos-bootstrap
240
-
241
- [Install]
242
- WantedBy=multi-user.target" >> /etc/systemd/system/blueos.service
243
-
234
+ curl -fsSL " $ROOT /install/configs/blueos.service" -o /etc/systemd/system/blueos.service
244
235
systemctl start start-blueos
245
236
systemctl enable start-blueos
246
237
You can’t perform that action at this time.
0 commit comments