summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2020-11-11 21:32:14 -0500
committerAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2020-11-11 21:32:14 -0500
commite6dcd76bf6d681fdaa3062e9900fa887a897fee1 (patch)
treef7acabac025dfb3ec28b8570e6b0444f713ee346
parent84d24fa1eff86eae6643875f91907df488ce6078 (diff)
downloadcgit-syntax-highlighting-e6dcd76bf6d681fdaa3062e9900fa887a897fee1.tar.xz
cgit-syntax-highlighting-e6dcd76bf6d681fdaa3062e9900fa887a897fee1.zip
remove User=nobody
systemd is correct that services should not be running as nobody. however, it's unreasonable to silently create a new user for this. using systemd sandboxing is probably sufficient.
-rw-r--r--syntax-highlighting.service.in1
1 files changed, 0 insertions, 1 deletions
diff --git a/syntax-highlighting.service.in b/syntax-highlighting.service.in
index dff918e..cd90546 100644
--- a/syntax-highlighting.service.in
+++ b/syntax-highlighting.service.in
@@ -3,7 +3,6 @@ Description=syntax highlighting server
[Service]
Type=simple
-User=nobody
ExecStart=@libdir@/cgit/syntax-highlighting-server.py
IPAddressAllow=localhost