From c1d42d947eb325c690e6719e4f351f0d0492db81 Mon Sep 17 00:00:00 2001 From: Patrick Spek Date: Fri, 6 May 2022 13:44:06 +0200 Subject: Minor fixes provided by avoidr --- content/posts/2022/2022-04-25-bashtard-introduction.md | 6 +++--- 1 file 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() { -- cgit v1.1