summarylogtreecommitdiffstats
path: root/headscale.service
blob: 8645af4c8b60eca5741e8b6d19624f9778882aa0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=Headscale server
After=network.target

[Service]
Type=simple
RemainAfterExit=yes
Environment=GIN_MODE=release
ExecStart=/usr/bin/headscale serve
ExecReload=/bin/kill -HUP $MAINPID
Restart=on-failure

[Install]
WantedBy=multi-user.target