mirror of
https://github.com/tale/headplane.git
synced 2026-07-26 07:48:14 +00:00
feat: restart with headscale, update server.js path in systemd example (#184)
This commit is contained in:
+3
-2
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user