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 ```ini
[Unit] [Unit]
Description=Headplane Description=Headplane
After=network.target # Decomment the following line if running on bare metal with integrated mode (/proc integration)
# PartOf=headscale.service
[Service] [Service]
Type=simple Type=simple
User=headplane User=headplane
Group=headplane Group=headplane
WorkingDirectory=/path/to/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 Restart=always
[Install] [Install]