diff --git a/misc/install.sh b/misc/install.sh index a9ef3070..d7871ffc 100755 --- a/misc/install.sh +++ b/misc/install.sh @@ -196,6 +196,25 @@ ADDITIONAL ACTIONS ARE REQUIRED! ./autoexec.sh +5 - Enable Automated Startup on Boot (optional) + + Create a file in /etc/systemd/system/bbs.service with the following contents: + [Unit] + Description=Enigma½ BBS + + [Install] + WantedBy=multi-user.target + + [Service] + ExecStart=/home//enigma-bbs/autoexec.sh + Type=simple + User= + Group= + WorkingDirectory=/home//enigma-bbs/ + Restart=on-failure + + Run 'sudo systemctl enable bbs.service' + EndOfMessage echo -e "\e[39m" }