From ba936d669ab1478e76a59c086aa73b683c668d9a Mon Sep 17 00:00:00 2001 From: Federico Cerutti Date: Thu, 10 Apr 2025 00:40:12 +0200 Subject: [PATCH] Systemd service: restart with headscale, update server.js path --- 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]