summarylogtreecommitdiffstats
path: root/zero-ui.service
blob: 5709b6b9bc80052933080acf6294978f81e97112 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[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
ReadWritePaths=/usr/share/webapps/zero-ui
ReadOnlyPaths=/var/lib/zerotier-one
ProtectSystem=strict

[Install]
WantedBy=multi-user.target