The person (who is new to Mystic) tried rc.local, bashrc and cron with no results...
I have a request from a recent YouTube clip that I posted to create a video explaining the best way to set things up on the Pi to boot MIS on reboot or crash?
Hi guys
I have a request from a recent YouTube clip that I posted to create a video >explaining the best way to set things up on the Pi to boot MIS on reboot or >crash?
The person (who is new to Mystic) tried rc.local, bashrc and cron with no >results...
That's all I know. :)
g00r00 do you have a 'preferred' way of doing this? If so I can build a clip >for the channel to demo it :)
Best, Paul
`I'm not expendable, I'm not stupid, and I'm not going' - Kerr Avon, Blake's 7
--- Mystic BBS v1.12 A38 2018/01/01 (Windows/32)
* Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
In crontab you would just prefix the command with @reboot:
@reboot /mystic/mislauncher.sh
In crontab you would just prefix the command with @reboot:
@reboot /mystic/mislauncher.sh
I tried this as you mentioned using crontab and it starts up fine, but is >there a way to have the terminal window popup. It currently runs in the >background. I like seeing the connections/events running to make
sure the commands are performing properly as I set things up. Or is there >another way to show the mis server window while it's running in the >background.
--- Mystic BBS v1.12 A38 2018/01/01 (Raspberry Pi/32)
* Origin: Digital Wurmhole | digitalwurmhole.ddns.net:2323 (21:1/999)
I tried this as you mentioned using crontab and it starts up fine, but is there a way to have the terminal window popup. It currently runs in the background.
I have a request from a recent YouTube clip that I posted to create a video explaining the best way to set things up on the Pi to boot MIS on reboot or crash?
I tried this as you mentioned using crontab and it starts up fine, but is there a way to have the terminal window popup. It currently runs in the background. I like seeing the connections/events running to make
sure the commands are performing properly as I set things up. Or is there another way to show the mis server window while it's running in the background.
If I understand you correctly and you want to run it from within the desktop environment, then init/crontab aren't going to work.
Throw it in a screen session and attach it whenever you want.
I eventually want to boot straight to the command line and autostart
mis, but for now as I'm setting up everything I wondered if it was possible to run mis with the visual output.
I think once I have everything automated and setup how I want it, I'll just run mis in daemon in crontab and be done with it.
I use systemd (which I believe you have with raspbian) to automate and monitor this. I can share an init script. In fact, shortly I'll be
sharing a link to some documents on github which I've written which do
(in part) cover this process.
I think it's better to run in server mode. I don't really like daemonizing, since screen is such a lightweight utility, it makes sense
to take advantage.
Sysop: | sneaky |
---|---|
Location: | Ashburton,NZ |
Users: | 31 |
Nodes: | 8 (0 / 8) |
Uptime: | 204:15:21 |
Calls: | 2,083 |
Calls today: | 1 |
Files: | 11,139 |
Messages: | 948,033 |