Skip to content

Commit

Permalink
Its called systemd
Browse files Browse the repository at this point in the history
  • Loading branch information
nblock committed Sep 5, 2024
1 parent 445c1ca commit 7d3a43e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions docs/running-headscale-linux-manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
## Goal

This documentation has the goal of showing a user how-to set up and run `headscale` on Linux.
In additional to the "get up and running section", there is an optional [SystemD section](#running-headscale-in-the-background-with-systemd)
In additional to the "get up and running section", there is an optional [systemd section](#running-headscale-in-the-background-with-systemd)
describing how to make `headscale` run properly in a server environment.

## Configure and run `headscale`
Expand Down Expand Up @@ -66,7 +66,7 @@ describing how to make `headscale` run properly in a server environment.
To continue the tutorial, open a new terminal and let it run in the background.
Alternatively use terminal emulators like [tmux](https://github.com/tmux/tmux) or [screen](https://www.gnu.org/software/screen/).

To run `headscale` in the background, please follow the steps in the [SystemD section](#running-headscale-in-the-background-with-systemd) before continuing.
To run `headscale` in the background, please follow the steps in the [systemd section](#running-headscale-in-the-background-with-systemd) before continuing.

1. Verify `headscale` is running:
Verify `headscale` is available:
Expand Down Expand Up @@ -109,9 +109,9 @@ This will return a pre-authenticated key that can be used to connect a node to `
tailscale up --login-server <YOUR_HEADSCALE_URL> --authkey <YOUR_AUTH_KEY>
```

## Running `headscale` in the background with SystemD
## Running `headscale` in the background with systemd

This section demonstrates how to run `headscale` as a service in the background with [SystemD](https://www.freedesktop.org/wiki/Software/systemd/).
This section demonstrates how to run `headscale` as a service in the background with [systemd](https://www.freedesktop.org/wiki/Software/systemd/).
This should work on most modern Linux distributions.

1. Copy [headscale's systemd service file](./packaging/headscale.systemd.service) to
Expand All @@ -136,7 +136,7 @@ This should work on most modern Linux distributions.
unix_socket: /var/run/headscale/headscale.sock
```
1. Reload SystemD to load the new configuration file:
1. Reload systemd to load the new configuration file:
```shell
systemctl daemon-reload
Expand Down
2 changes: 1 addition & 1 deletion docs/running-headscale-linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Get Headscale up and running.

This includes running Headscale with SystemD.
This includes running Headscale with systemd.

## Migrating from manual install

Expand Down
2 changes: 1 addition & 1 deletion integration/dns_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func TestResolveMagicDNS(t *testing.T) {
// All the containers are based on Alpine, meaning Tailscale
// will overwrite the resolv.conf file.
// On other platform, Tailscale will integrate with a dns manager
// if available (like Systemd-Resolved).
// if available (like systemd-resolved).
func TestValidateResolvConf(t *testing.T) {
IntegrationSkip(t)

Expand Down

0 comments on commit 7d3a43e

Please sign in to comment.