feat: restart with headscale, update server.js path in systemd example (#184)
This commit is contained in:
parent
77b510c927
commit
b86f4461c0
@ -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]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user