@toggledbits said in How to auto start on Rpi reboot ?:
9f322ffb-ca93-464b-9c47-fbec7c7e12b4-image.png
This is the reactor.service file it created:
# This file allows you to run your Reactor installation under systemd, # so it can be started at boot. Copy this file (as root or under sudo) # to /etc/systemd/system, and then run "systemctl daemon-reload". You # can then able Reactor to start at boot "systemctl enable reactor". # The usual systemctl subcommands can also be used to start, stop, and # restart reactor at will (e.g. "systemctl restart reactor"). [Unit] Description=Multi System Reactor After=network.target [Service] Type=simple User=pi WorkingDirectory=/home/pi/Documents/reactor ExecStart=/usr/bin/node app -p Restart=on-failure RestartSec=5s [Install] WantedBy=multi-user.targetI followed the rest of the instructions and I could see a reactor.pid file had been created and reactor was running again.
I then rebooted my Pi and after it rebooted MSR is running again.
So everything appears to have worked OK.
Thanks