summarylogtreecommitdiffstats
path: root/zero-ui.service
diff options
context:
space:
mode:
authorCatty Steve2022-11-09 17:01:12 +0800
committerCatty Steve2022-11-09 17:01:12 +0800
commit499135d105ea0f42090b4bce4677aef9b73e9b4d (patch)
tree6cbb9d9deb60e985e56ccd3f9d55b2a6c2fef13f /zero-ui.service
parent322fb4de44fa2883ce9580d52609f5b30cc8bae8 (diff)
downloadaur-499135d105ea0f42090b4bce4677aef9b73e9b4d.tar.gz
Fixed package
Diffstat (limited to 'zero-ui.service')
-rw-r--r--zero-ui.service3
1 files changed, 2 insertions, 1 deletions
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