From b86f4461c08d460055fde4c0a26a36e9a7dac94e Mon Sep 17 00:00:00 2001 From: Federico Cerutti Date: Thu, 10 Apr 2025 15:08:43 +0200 Subject: [PATCH] feat: restart with headscale, update server.js path in systemd example (#184) --- docs/Bare-Metal.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/Bare-Metal.md b/docs/Bare-Metal.md index 79652a5..a1fb70c 100644 --- a/docs/Bare-Metal.md +++ b/docs/Bare-Metal.md @@ -68,14 +68,15 @@ Headplane service: ```ini [Unit] Description=Headplane -After=network.target +# Decomment the following line if running on bare metal with integrated mode (/proc integration) +# PartOf=headscale.service [Service] Type=simple User=headplane Group=headplane WorkingDirectory=/path/to/headplane -ExecStart=/usr/bin/node /path/to/headplane/build/headplane/server.js +ExecStart=/usr/bin/node /path/to/headplane/build/server/index.js Restart=always [Install]