summaryrefslogtreecommitdiff
path: root/syntax-highlighting.service.in
diff options
context:
space:
mode:
authorAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2020-03-07 12:10:18 -0500
committerAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2020-03-07 12:10:18 -0500
commit8d1d15c0cbedce68488c2f9cade3f50ba0eefc32 (patch)
treef3bd77ab2165f2ebcc68384234c6a886051f399a /syntax-highlighting.service.in
parent361d396d01f6cdeb49970c0eeb705da442879f05 (diff)
downloadcgit-syntax-highlighting-8d1d15c0cbedce68488c2f9cade3f50ba0eefc32.tar.xz
cgit-syntax-highlighting-8d1d15c0cbedce68488c2f9cade3f50ba0eefc32.zip
fix service (remove parameters, remove PrivateNetwork)
Diffstat (limited to 'syntax-highlighting.service.in')
-rw-r--r--syntax-highlighting.service.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/syntax-highlighting.service.in b/syntax-highlighting.service.in
index db10fb7..dff918e 100644
--- a/syntax-highlighting.service.in
+++ b/syntax-highlighting.service.in
@@ -4,7 +4,7 @@ Description=syntax highlighting server
[Service]
Type=simple
User=nobody
-ExecStart=@libdir@/cgit/syntax-highlighting-server.py localhost 4872
+ExecStart=@libdir@/cgit/syntax-highlighting-server.py
IPAddressAllow=localhost
IPAddressDeny=any
@@ -12,7 +12,6 @@ LockPersonality=yes
MemoryDenyWriteExecute=yes
NoNewPrivileges=yes
PrivateDevices=yes
-PrivateNetwork=yes
PrivateTmp=yes
ProtectControlGroups=yes
ProtectHome=yes