doc: fixes format issue
This commit is contained in:
parent
a282bfe34c
commit
2964b28601
@ -36,7 +36,8 @@ If you wish to try the **MARLIN** Box in this state you will need the following:
|
|||||||
- Build the software `~/go/bin/go build main.go && mv cmd marlinbox`
|
- Build the software `~/go/bin/go build main.go && mv cmd marlinbox`
|
||||||
- Create or modify the file `playlist.json` in the same directory
|
- Create or modify the file `playlist.json` in the same directory
|
||||||
- Create the `systemd service` with `sudo nano /etc/systemd/system/marlinbox.service`
|
- Create the `systemd service` with `sudo nano /etc/systemd/system/marlinbox.service`
|
||||||
- `[Unit]
|
```
|
||||||
|
[Unit]
|
||||||
Description=Runs the binary of the marlinbox
|
Description=Runs the binary of the marlinbox
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
@ -44,7 +45,8 @@ ExecStart=/home/marlinbox/marlinbox/cmd/cmd
|
|||||||
WorkingDirectory=/home/marlinbox/marlinbox/cmd
|
WorkingDirectory=/home/marlinbox/marlinbox/cmd
|
||||||
Type=simple
|
Type=simple
|
||||||
User=root
|
User=root
|
||||||
`
|
```
|
||||||
|
**IMPORTANT**: *Update the path of `ExecStart` and `WorkingDirectory` according to your setup.*
|
||||||
- Enable the `systemd service` with `sudo systemctl enable marlinbox.service`
|
- Enable the `systemd service` with `sudo systemctl enable marlinbox.service`
|
||||||
- Restart the Pi with `sudo reboot now`
|
- Restart the Pi with `sudo reboot now`
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user