From 1bb9aeb09d2f7fbb9f15b25a1290e841e82dc0ea Mon Sep 17 00:00:00 2001 From: Carl Roman Hultay <144816337+crhultay@users.noreply.github.com> Date: Mon, 25 Nov 2024 20:34:48 -0500 Subject: [PATCH] Update install.sh --- misc/install.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) 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" }