From 7898501b15a86fbc5d552572a7dc1c149d07ab49 Mon Sep 17 00:00:00 2001 From: Hudson Riggs Date: Sat, 25 Oct 2025 18:30:12 -0400 Subject: [PATCH] Update Readme --- README.md | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c66ca49..0b86c69 100644 --- a/README.md +++ b/README.md @@ -133,8 +133,16 @@ The repo includes `.gitea/workflows/deploy.yaml` which, on push to `main`, SSHes If your service name or directory differ, update `SERVICE`/`APP_DIR` in the workflow accordingly. ``` +apt update +apt install -y sudo + +SYSCTL_PATH=$(command -v systemctl) # usually /bin/systemctl or /usr/bin/systemctl +cat >/etc/sudoers.d/train-id </dev/null -sudo chmod 440 /etc/sudoers.d/train-id -sudo visudo -cf /etc/sudoers.d/train-id -``` \ No newline at end of file