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:
parent
e43d6a0361
commit
35bfe7ced0
4 changed files with 11 additions and 38 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue