feat: restart with headscale, update server.js path in systemd example (#184)

This commit is contained in:
Federico Cerutti 2025-04-10 15:08:43 +02:00 committed by GitHub
parent 77b510c927
commit b86f4461c0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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]