From 174510037b1574a53438d0ee0312ba9236b048f8 Mon Sep 17 00:00:00 2001 From: Jag Talon Date: Fri, 7 Mar 2025 11:14:40 -0500 Subject: [PATCH] Make sure the rc.d/ssh_chat file is executable --- examples/openbsd_service | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/openbsd_service b/examples/openbsd_service index 0c5fc4d..57bbf8b 100644 --- a/examples/openbsd_service +++ b/examples/openbsd_service @@ -12,11 +12,12 @@ rc_reload=NO rc_cmd $1 -# 1. Copy this file to `/etc/rc.d` +# 1. Copy this file to `/etc/rc.d` and make sure it's executable. # $ cp ssh-chat/examples/openbsd_service /etc/rc.d/ssh_chat +# $ chmod +x /etc/rc.d/ssh_chat # # 2. Point the variable `daemon` to the executable, e.g., /usr/local/bin/ssh-chat -# $ cp ~/ssh-chat/ssh-chat /usr/local/bin/ssh-chat +# $ ln -s ~/ssh-chat/ssh-chat /usr/local/bin/ssh-chat # # 3. Modify the values in daemon_flags and daemon_user based on your liking. # Alternatively, you can delete that line and set the flags using rcctl instead: