Skip to content

Commit 1745100

Browse files
author
Jag Talon
committed
Make sure the rc.d/ssh_chat file is executable
1 parent a3fe2a8 commit 1745100

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

examples/openbsd_service

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,12 @@ rc_reload=NO
1212

1313
rc_cmd $1
1414

15-
# 1. Copy this file to `/etc/rc.d`
15+
# 1. Copy this file to `/etc/rc.d` and make sure it's executable.
1616
# $ cp ssh-chat/examples/openbsd_service /etc/rc.d/ssh_chat
17+
# $ chmod +x /etc/rc.d/ssh_chat
1718
#
1819
# 2. Point the variable `daemon` to the executable, e.g., /usr/local/bin/ssh-chat
19-
# $ cp ~/ssh-chat/ssh-chat /usr/local/bin/ssh-chat
20+
# $ ln -s ~/ssh-chat/ssh-chat /usr/local/bin/ssh-chat
2021
#
2122
# 3. Modify the values in daemon_flags and daemon_user based on your liking.
2223
# Alternatively, you can delete that line and set the flags using rcctl instead:

0 commit comments

Comments
 (0)