From 2964b286019db074ef6a3713fdaf91dbd8d8abab Mon Sep 17 00:00:00 2001 From: itsscb Date: Fri, 30 Dec 2022 14:39:27 +0100 Subject: [PATCH] doc: fixes format issue --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c9a0ffa..a88e889 100644 --- a/README.md +++ b/README.md @@ -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` - Create or modify the file `playlist.json` in the same directory - Create the `systemd service` with `sudo nano /etc/systemd/system/marlinbox.service` - - `[Unit] +``` +[Unit] Description=Runs the binary of the marlinbox [Service] @@ -44,7 +45,8 @@ ExecStart=/home/marlinbox/marlinbox/cmd/cmd WorkingDirectory=/home/marlinbox/marlinbox/cmd Type=simple User=root -` +``` +**IMPORTANT**: *Update the path of `ExecStart` and `WorkingDirectory` according to your setup.* - Enable the `systemd service` with `sudo systemctl enable marlinbox.service` - Restart the Pi with `sudo reboot now`