Add support for service reload and sync service file (#2102)

* Add support for service reload and sync service file

* Copy the systemd.service file to the manual linux docs and adjust the
  path to the headscale binary to match with the previous documentation
  blocks. Unfortunately, there seems to be no easy way to include a
  file in mkdocs.
* Remove a redundant "deprecation" block. The beginning of the
  documentation already states that.
* Add `ExecReload` to the systemd.service file.

Fixes: #2016

* Its called systemd

* Fix link to systemd homepage
This commit is contained in:
nblock 2024-09-05 12:08:50 +02:00 committed by GitHub
parent e43d6a0361
commit 35bfe7ced0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 11 additions and 38 deletions

View file

@ -9,6 +9,7 @@ Type=simple
User=headscale
Group=headscale
ExecStart=/usr/bin/headscale serve
ExecReload=/usr/bin/kill -HUP $MAINPID
Restart=always
RestartSec=5