Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
raspberry_pi:mods:mesh [2018/02/23 17:47]
matthias [Mesh config script] added a cd command
raspberry_pi:mods:mesh [2018/02/23 17:54] (current)
matthias [Mesh config script] without cd but use homedir
Line 108: Line 108:
 Create a start/stop script: Create a start/stop script:
  
-  ​cd /tmp +  cat <<EOF > ~/mesh.service
-  ​cat <<EOF > mesh.service+
   [Unit]   [Unit]
   Description=PirateBox Mesh Service   Description=PirateBox Mesh Service
Line 123: Line 122:
   WantedBy=multi-user.target   WantedBy=multi-user.target
   EOF   EOF
-  sudo mv mesh.service /​etc/​systemd/​system+  sudo mv ~/mesh.service /​etc/​systemd/​system
   sudo systemctl daemon-reload   sudo systemctl daemon-reload
   sudo systemctl start mesh.service ​   sudo systemctl start mesh.service ​