-
Notifications
You must be signed in to change notification settings - Fork 46
autostart on boot
Quin Kennedy edited this page Sep 10, 2019
·
1 revision
This document was assembled while setting up Spacebrew on a RaspberryPi. It should be applicable to most *NIX systems.
- clone/download spacebrew from github
- install Node (and NPM)
- run
npm install
in the spacebrew directory - Setup hostname resolution (optional)
- set the hostname to what you want
- On RaspberryPi desktop you can do this via menu -> Preferences -> Raspberry Pi Configuration
-
sudo apt-get -y install samba
- enable support for wins and/or netbios if it asks
- set the hostname to what you want
sudo systemctl edit spacebrew.service --force --full
- fill the file with the following:
[Unit] Description=Spacebrew Server [Service] Type=simple ExecStart=/usr/bin/npm start --prefix /home/pi/Documents/spacebrew/ [Install] WantedBy=multi-user.target
- change the path at the end of the ExecStart line depending on where you cloned/unzipped to
sudo systemctl enable spacebrew