From d2e09a36fa15fca7d4ad8a849f4f4c870ef16ead Mon Sep 17 00:00:00 2001 From: Carl Roman Hultay <144816337+crhultay@users.noreply.github.com> Date: Mon, 25 Nov 2024 09:25:36 -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 12974588..3af885cb 100755 --- a/misc/install.sh +++ b/misc/install.sh @@ -196,6 +196,25 @@ ADDITIONAL ACTIONS ARE REQUIRED! ./autoexec.sh +5 - Enable Automatic Startup via systemd (optional) + + Write a file in /etc/systemd/system/bbs.service containing: + [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' to start at boot + EndOfMessage echo -e "\e[39m" }