Skip to content

Conversation

@adegoodyer
Copy link
Contributor

Updated instructions to create systemd service for linux.

  • use sensible log location
  • add [install] section so service can be enabled
  • add systemctl commands to enable and start service
  • add system log command to debug any potential issues

Summary

Screenshots (optional)

Documentation checklist

  • The documentation style guide has been adhered to.
  • If a larger change - such as adding a new page- an issue has been opened in relation to any incorrect or out of date information that this PR fixes.
  • Files which have changed name or location have been allocated redirects.

Updated instructions to create systemd service for linux.
  - use sensible log location
  - add [install] section so service can be enabled
  - add systemctl commands to enable and start service
  - add system log command to debug any potential issues
@ranbel
Copy link
Contributor

ranbel commented Sep 3, 2024

Hey @adegoodyer, thanks for the PR. The commands shown in the remote tunnel dashboard flow should automatically create and enable cloudflared.service. Therefore, the instructions are oriented towards updating the existing cloudflared.service file. May I ask why you needed to create cloudflared.service from scratch?

@adegoodyer
Copy link
Contributor Author

Hi @ranbel. Yes certainly, was building an Linux container (well lxc) running gotify on Proxmox. Wasn't sure if the service was enabled to start automatically when restarted, so enabled it explicitly to make sure.

The log path is a sensible location for that os and the other commands are just additional extras.

I thought it might help others, but feel free to amend or reject if not useful or in line with the workflow.

@ranbel
Copy link
Contributor

ranbel commented Oct 9, 2024

Tested out the remote tunnel configuration steps and confirmed that the docs were missing a restart command. Thanks for the suggestions!

@ranbel ranbel merged commit 47dbb64 into cloudflare:production Oct 9, 2024
7 checks passed
@workers-devprod workers-devprod added the contribution [Holopin] Recognizes a docs contribution, big or small label Oct 9, 2024
@holopin-bot
Copy link

holopin-bot bot commented Oct 9, 2024

Congratulations @adegoodyer, the maintainer of this repository has issued you a holobyte! Here it is: https://holopin.io/holobyte/cm22bvltx26050cmrd71uje9l

This badge can only be claimed by you, so make sure that your GitHub account is linked to your Holopin account. You can manage those preferences here: https://holopin.io/account.
Or if you're new to Holopin, you can simply sign up with GitHub, which will do the trick!

@adegoodyer
Copy link
Contributor Author

Tested out the remote tunnel configuration steps and confirmed that the docs were missing a restart command. Thanks for the suggestions!

@ranbel You're most welcome! In future I'll shape the PR more in line with Cloudflare paradigms and provide more evidence of the testing I did to save a bit of work your end.

elithrar pushed a commit that referenced this pull request Oct 15, 2024
* Update remote-management.mdx

Updated instructions to create systemd service for linux.
  - use sensible log location
  - add [install] section so service can be enabled
  - add systemctl commands to enable and start service
  - add system log command to debug any potential issues

* Update remote-management.mdx

---------

Co-authored-by: ranbel <[email protected]>
maheshwarip pushed a commit that referenced this pull request Dec 2, 2024
* Update remote-management.mdx

Updated instructions to create systemd service for linux.
  - use sensible log location
  - add [install] section so service can be enabled
  - add systemctl commands to enable and start service
  - add system log command to debug any potential issues

* Update remote-management.mdx

---------

Co-authored-by: ranbel <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contribution [Holopin] Recognizes a docs contribution, big or small product:cloudflare-one size/s

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants