summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--content/posts/2022/2022-04-25-bashtard-introduction.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/content/posts/2022/2022-04-25-bashtard-introduction.md b/content/posts/2022/2022-04-25-bashtard-introduction.md
index d67135e..3ab1bc7 100644
--- a/content/posts/2022/2022-04-25-bashtard-introduction.md
+++ b/content/posts/2022/2022-04-25-bashtard-introduction.md
@@ -195,7 +195,7 @@ let's add that to the `playbook_sync()` function as well.
svc reload "sshd"
```
-The `svc` utility looks for a configuration value that stars with `svc.`,
+The `svc` utility looks for a configuration value that starts with `svc.`,
followed by the service you're trying to act upon, so in this case that would be
`svc.sshd`. We can add this to our configuration files in `etc`. Across all my
machines, `sshd` seems to work as the value, so I only need to add one line to
@@ -227,10 +227,10 @@ this, I'll add an `if` statement to skip reloading if `bashtard` is running the
```bash
playbook_add() {
+ playbook_sync
+
svc enable "sshd"
svc start "sshd"
-
- playbook_sync
}
playbook_sync() {