summarylogtreecommitdiffstats
path: root/zero-ui.service
blob: 11ac5e3aa440904119b05fbaf375f8cf6c0f9a62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[Unit]
Description=Zerotier controller WebUI
Wants=network-online.target
After=network.target network-online.target

[Service]
User=root
Group=root
LimitNOFILE=16384
EnvironmentFile=/etc/zero-ui.conf
WorkingDirectory=/usr/share/webapps/zero-ui/backend
ExecStart=/usr/bin/node /usr/share/webapps/zero-ui/backend/bin/www
ExecReload=/bin/kill -HUP $MAINPID
PrivateTmp=true
ProtectHome=true

[Install]
WantedBy=multi-user.target