when i am at root and issue the commend: " # smashing start " i get the error " Could not locate Gemfile or .bundle/ directory "
when i go to " /home/pi/smashing-dashboards/my_sample_dashboard/ " and issue the command " smashing start " then Smashing Dashboard Does Start however on reboot i need to manually start the dashboard again
i have the following file in " /home/pi/ " - " startsmash.sh "
the contents of the file " startsmash.sh " is
cd /home/pi/smashing-dashboards/my_sample_dashboard/
smashing start
in " /lib/systemd/system " i have a file called " smashing.service "
the " smashing.service " file has the following entries
please guys can you help me
i am using a Raspberry PI 4 running the Latest PI OS
i am trying to get Smashing to Auto Startup but i am having issues as i always need to Start Smashing Manually
this is my setup
My Smashing Folder: " /home/pi/smashing-dashboards/ "
Smashing Dashboard: " /home/pi/smashing-dashboards/my_sample_dashboard/ "
when i am at root and issue the commend: " # smashing start " i get the error " Could not locate Gemfile or .bundle/ directory "
when i go to " /home/pi/smashing-dashboards/my_sample_dashboard/ " and issue the command " smashing start " then Smashing Dashboard Does Start however on reboot i need to manually start the dashboard again
i have the following file in " /home/pi/ " - " startsmash.sh "
the contents of the file " startsmash.sh " is
cd /home/pi/smashing-dashboards/my_sample_dashboard/ smashing start
in " /lib/systemd/system " i have a file called " smashing.service "
the " smashing.service " file has the following entries
[Unit] Description=Start Smashing Dashboard Before=graphical.target After=network.target remote-fs.target
[Service] Type=exec Restart=always RestartSec=60 TimeoutSec=5min KillMode=control-group GuessMainPID=no User=pi Group=pi
WorkingDirectory=/home/pi/smashing-dashboards/my_sample_dashboard
ExecStart=/home/pi/startsmash.sh
ExecStop=/usr/local/bin/smashing stop
PrivateTmp=true PrivateDevices=true ProtectSystem=full MountFlags=private NoNewPrivileges=true
[Install] WantedBy=multi-user.target
any help greatly appreciated