summaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2022-05-06 13:44:06 +0200
committerPatrick Spek <p.spek@tyil.nl>2022-05-06 13:44:06 +0200
commitc1d42d947eb325c690e6719e4f351f0d0492db81 (patch)
tree17d27926ba2c6f9519b534707163e175b0b3ea8e /content
parent4f4019a9a9ddc951d3b9b154801a09dc792425c5 (diff)
Minor fixes provided by avoidr
Diffstat (limited to 'content')
-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() {