From e486fd9daac38479f27cd2dbeb899beb2602998a Mon Sep 17 00:00:00 2001 From: Imamuzzaki Abu Salam Date: Thu, 16 Feb 2023 15:18:59 +0700 Subject: [PATCH 1/2] dns/cloudflared: add warning to add shebang in bash file Signed-off-by: Imamuzzaki Abu Salam --- docs/guides/dns/cloudflared.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/guides/dns/cloudflared.md b/docs/guides/dns/cloudflared.md index e241608..d952190 100644 --- a/docs/guides/dns/cloudflared.md +++ b/docs/guides/dns/cloudflared.md @@ -239,6 +239,12 @@ sudo chmod +x /etc/cron.weekly/cloudflared-updater sudo chown root:root /etc/cron.weekly/cloudflared-updater ``` + +!!! warning + Make sure to add shebang `#!/bin/bash` in the beginning of the file. + Otherwise, the command would not executed. + + The system will now attempt to update the cloudflared binary automatically, once per week. ### Uninstalling `cloudflared` From 783e92c65550d86570412484bd7e70f403522b4b Mon Sep 17 00:00:00 2001 From: Imamuzzaki Abu Salam Date: Mon, 20 Feb 2023 10:06:35 +0700 Subject: [PATCH 2/2] change `the file` to its file directory Co-authored-by: yubiuser Signed-off-by: Imamuzzaki Abu Salam --- docs/guides/dns/cloudflared.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/dns/cloudflared.md b/docs/guides/dns/cloudflared.md index d952190..b9b6b32 100644 --- a/docs/guides/dns/cloudflared.md +++ b/docs/guides/dns/cloudflared.md @@ -241,7 +241,7 @@ sudo chown root:root /etc/cron.weekly/cloudflared-updater !!! warning - Make sure to add shebang `#!/bin/bash` in the beginning of the file. + Make sure to add shebang `#!/bin/bash` in the beginning of `/etc/cron.weekly/cloudflared-updater`. Otherwise, the command would not executed.