summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCatty Steve2022-11-09 17:01:12 +0800
committerCatty Steve2022-11-09 17:01:12 +0800
commit499135d105ea0f42090b4bce4677aef9b73e9b4d (patch)
tree6cbb9d9deb60e985e56ccd3f9d55b2a6c2fef13f
parent322fb4de44fa2883ce9580d52609f5b30cc8bae8 (diff)
downloadaur-499135d105ea0f42090b4bce4677aef9b73e9b4d.tar.gz
Fixed package
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
-rw-r--r--zero-ui.service3
3 files changed, 4 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3c8d5288acbf..409222fada20 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = zero-ui
pkgdesc = Zerotier Controller UI
pkgver = r227.076b496
- pkgrel = 3
+ pkgrel = 4
url = https://github.com/dec0dOS/zero-ui
arch = x86_64
license = GPL
diff --git a/PKGBUILD b/PKGBUILD
index 52346d9cc878..39e35dc7730d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=zero-ui
pkgver=r227.076b496
-pkgrel=3
+pkgrel=4
pkgdesc='Zerotier Controller UI'
arch=('x86_64')
url='https://github.com/dec0dOS/zero-ui'
diff --git a/zero-ui.service b/zero-ui.service
index 48124000b041..11ac5e3aa440 100644
--- a/zero-ui.service
+++ b/zero-ui.service
@@ -8,10 +8,11 @@ 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
-PrivateHome=true
+ProtectHome=true
[Install]
WantedBy=multi-user.target